Move window definition

This commit is contained in:
Agustin Pane 2020-06-25 12:47:23 -03:00
parent d7d2305b9c
commit abd61dc055
2 changed files with 6 additions and 9 deletions

View File

@ -5,15 +5,6 @@ import { EMPTY_DATA } from './ethTransactions'
import { getNetwork } from '../../config'
declare global {
interface Window {
web3: {
currentProvider: any
}
testAccountIndex: string
}
}
export const ETHEREUM_NETWORK = {
MAINNET: 'MAINNET',
MORDEN: 'MORDEN',

View File

@ -1,2 +1,8 @@
interface Window {
web3: {
currentProvider: any
}
testAccountIndex: string
}
declare module '@openzeppelin/contracts/build/contracts/ERC721'
declare module 'currency-flags/dist/currency-flags.min.css'