mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-27 09:54:51 +00:00
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'
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
web3: {
|
||||
currentProvider: any
|
||||
}
|
||||
testAccountIndex: string
|
||||
}
|
||||
}
|
||||
|
||||
export const ETHEREUM_NETWORK = {
|
||||
MAINNET: 'MAINNET',
|
||||
MORDEN: 'MORDEN',
|
||||
|
6
src/types/definitions.d.ts
vendored
6
src/types/definitions.d.ts
vendored
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user