mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
76b8ecbb6d
closes #23727
22 lines
632 B
TypeScript
22 lines
632 B
TypeScript
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
|
|
>;
|
|
|
|
export function deleteSetTimeout(): void;
|
|
export function getSetTimeout(): typeof setTimeout;
|
|
|
|
export function checkProcessGlobal(): void;
|
|
export function checkWindowGlobal(): void;
|
|
export function checkSelfGlobal(): void;
|
|
|
|
export function getFoo(): string;
|