UNPKG

molestiaererum

Version:

A simple, maximally extensible, dependency minimized framework for building modern Ethereum dApps

13 lines (10 loc) 296 B
interface Dexon { send: unknown enable: () => Promise<string[]> on?: (method: string, listener: (...args: any[]) => void) => void removeListener?: (method: string, listener: (...args: any[]) => void) => void } declare interface Window { dexon?: Dexon } declare const __DEV__: boolean