diff options
Diffstat (limited to 'tests/registry/npm/@denotest/globals/1.0.0/index.d.ts')
-rw-r--r-- | tests/registry/npm/@denotest/globals/1.0.0/index.d.ts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/registry/npm/@denotest/globals/1.0.0/index.d.ts b/tests/registry/npm/@denotest/globals/1.0.0/index.d.ts new file mode 100644 index 000000000..1bbb82047 --- /dev/null +++ b/tests/registry/npm/@denotest/globals/1.0.0/index.d.ts @@ -0,0 +1,21 @@ +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;
\ No newline at end of file |