2022-10-21 11:20:18 -04:00
|
|
|
declare const tempGlobalThis: typeof globalThis;
|
|
|
|
declare const tempGlobal: typeof global;
|
|
|
|
declare const tempProcess: typeof process;
|
|
|
|
export {
|
|
|
|
tempGlobalThis as globalThis,
|
|
|
|
tempGlobal as global,
|
|
|
|
tempProcess as process,
|
|
|
|
};
|
|
|
|
|
|
|
|
type AssertTrue<T extends true> = never;
|
|
|
|
type _TestHasProcessGlobal = AssertTrue<
|
|
|
|
typeof globalThis extends { process: any } ? true : false
|
|
|
|
>;
|
2023-02-08 19:11:12 -05:00
|
|
|
|
2023-07-19 04:30:04 -04:00
|
|
|
export function deleteSetTimeout(): void;
|
|
|
|
export function getSetTimeout(): typeof setTimeout;
|
|
|
|
|
|
|
|
export function checkProcessGlobal(): void;
|
|
|
|
export function checkWindowGlobal(): void;
|
|
|
|
|
|
|
|
export function getFoo(): string;
|