Files
explore/global.d.ts
T
tom goriunovandGitHub f3fc9f9277 update web3modal to v4 (#1731)
* update hooks and methods

* fix typescript

* options fix

* fix pw test build

* try to fix tests

* more pw test fixes

* update screenshots and fix address verification test
2024-03-25 08:41:20 +01:00

32 lines
610 B
TypeScript

import type { WalletProvider } from 'types/web3';
type CPreferences = {
zone: string;
width: string;
height: string;
}
declare global {
export interface Window {
ethereum?: WalletProvider | undefined;
coinzilla_display: Array<CPreferences>;
ga?: {
getAll: () => Array<{ get: (prop: string) => string }>;
};
AdButler: {
ads: Array<unknown>;
register: (...args: unknown) => void;
};
abkw: string;
__envs: Record<string, string>;
}
namespace NodeJS {
interface ProcessEnv {
NODE_ENV: 'development' | 'production';
}
}
}
export {};