mirror of
https://github.com/denoland/deno.git
synced 2024-11-04 08:54:20 -05:00
14 lines
373 B
TypeScript
14 lines
373 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
|
||
|
>;
|