forked from blockscout/frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobal.d.ts
More file actions
37 lines (33 loc) · 954 Bytes
/
global.d.ts
File metadata and controls
37 lines (33 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import type { EssentialDappsChainConfig } from 'types/client/marketplace';
import type { MultichainConfig } from 'types/multichain';
import type { WalletProvider } from 'types/web3';
import 'vitest-fetch-mock';
type CPreferences = {
zone: string;
width: string;
height: string;
};
declare global {
export interface Window {
ethereum?: WalletProvider | undefined;
coinzilla_display: Array<CPreferences>;
sevioads: Array<Array<Record<string, string>>> | undefined;
ga?: {
getAll: () => Array<{ get: (prop: string) => string }>;
};
AdButler: {
ads: Array<unknown>;
register: (...args: unknown) => void;
};
abkw: string;
__envs: Record<string, string>;
__multichainConfig?: MultichainConfig;
__essentialDappsChains?: { chains: Array<EssentialDappsChainConfig> };
}
namespace NodeJS {
interface ProcessEnv {
NODE_ENV: 'development' | 'production';
}
}
}
export {};