2020-02-26 20:00:59 +03:00
|
|
|
/// <reference types="react-scripts" />
|
2020-08-27 20:24:03 +03:00
|
|
|
|
|
|
|
declare module 'jazzicon' {
|
|
|
|
export default function(diameter: number, seed: number): HTMLElement
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module 'fortmatic'
|
|
|
|
|
|
|
|
interface Window {
|
|
|
|
ethereum?: {
|
|
|
|
isMetaMask?: true
|
|
|
|
on?: (...args: any[]) => void
|
|
|
|
removeListener?: (...args: any[]) => void
|
|
|
|
}
|
|
|
|
web3?: {}
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module 'content-hash' {
|
|
|
|
declare function decode(x: string): string
|
|
|
|
declare function getCodec(x: string): string
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module 'multihashes' {
|
|
|
|
declare function decode(buff: Uint8Array): { code: number; name: string; length: number; digest: Uint8Array }
|
|
|
|
declare function toB58String(hash: Uint8Array): string
|
|
|
|
}
|