Files
explore/global.d.ts
T
tom goriunovandGitHub 43f1af2c25 workaround for ENV replacement script (#1212)
* base implementation of client script with envs values

* better ENVs setup for pw tests

* fix tests
2023-09-29 10:45:23 -03:00

30 lines
581 B
TypeScript

import type { WindowProvider } from 'wagmi';
type CPreferences = {
zone: string;
width: string;
height: string;
}
declare global {
export interface Window {
ethereum?: WindowProvider;
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';
}
}
}