mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
7 lines
265 B
TypeScript
7 lines
265 B
TypeScript
import getGlobal = require('globalthis');
|
|
|
|
getGlobal(); // $ExpectType typeof globalThis
|
|
getGlobal.implementation; // $ExpectType typeof globalThis
|
|
getGlobal.getPolyfill; // $ExpectType () => typeof globalThis
|
|
getGlobal.shim; // $ExpectType () => typeof globalThis
|