91f4892b0c
* setup relay compiler * refactored to use polling interval, fixed PR comments * fixes, readded uninitialized state for liquidity chart * updated cypress test * reorganized graphql files into src/graphql
38 lines
1.0 KiB
TypeScript
38 lines
1.0 KiB
TypeScript
/// <reference types="react-scripts" />
|
|
|
|
declare module '@metamask/jazzicon' {
|
|
export default function (diameter: number, seed: number): HTMLElement
|
|
}
|
|
|
|
declare module 'fortmatic'
|
|
|
|
interface Window {
|
|
// walletLinkExtension is injected by the Coinbase Wallet extension
|
|
walletLinkExtension?: any
|
|
ethereum?: {
|
|
// value that is populated and returns true by the Coinbase Wallet mobile dapp browser
|
|
isCoinbaseWallet?: true
|
|
isMetaMask?: true
|
|
autoRefreshOnNetworkChange?: boolean
|
|
}
|
|
web3?: Record<string, unknown>
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
declare module 'd3-curve-circlecorners' {
|
|
declare function radius(r: number): d3.CurveFactory
|
|
}
|
|
|
|
declare module 'babel-plugin-relay/macro' {
|
|
export { graphql as default } from 'react-relay'
|
|
}
|