TypeScript var global: typeOf globalthis

npm i -D @types/[email protected]
florinrelea