Move window definition
This commit is contained in:
parent
d7d2305b9c
commit
abd61dc055
|
@ -5,15 +5,6 @@ import { EMPTY_DATA } from './ethTransactions'
|
||||||
|
|
||||||
import { getNetwork } from '../../config'
|
import { getNetwork } from '../../config'
|
||||||
|
|
||||||
declare global {
|
|
||||||
interface Window {
|
|
||||||
web3: {
|
|
||||||
currentProvider: any
|
|
||||||
}
|
|
||||||
testAccountIndex: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export const ETHEREUM_NETWORK = {
|
export const ETHEREUM_NETWORK = {
|
||||||
MAINNET: 'MAINNET',
|
MAINNET: 'MAINNET',
|
||||||
MORDEN: 'MORDEN',
|
MORDEN: 'MORDEN',
|
||||||
|
|
|
@ -1,2 +1,8 @@
|
||||||
|
interface Window {
|
||||||
|
web3: {
|
||||||
|
currentProvider: any
|
||||||
|
}
|
||||||
|
testAccountIndex: string
|
||||||
|
}
|
||||||
declare module '@openzeppelin/contracts/build/contracts/ERC721'
|
declare module '@openzeppelin/contracts/build/contracts/ERC721'
|
||||||
declare module 'currency-flags/dist/currency-flags.min.css'
|
declare module 'currency-flags/dist/currency-flags.min.css'
|
||||||
|
|
Loading…
Reference in New Issue