mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 09:39:08 -05:00
1587387bcc
1. Moves the npm registries to their own dedicated ports. 2. Moves the data files out of `tests/testdata/npm/registry` to `tests/registry/npm`.
21 lines
No EOL
590 B
TypeScript
21 lines
No EOL
590 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 getFoo(): string; |