globalthis/000755 001751 000177 0000000000 14522325161014664 5ustar00runner000000 000000 1452232516114522325161globalthis/LICENSE000644 001751 000177 0000002165 14522325161015675 0ustar00runner000000 000000 1452232516114522325161 MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE globalthis/README.md000644 001751 000177 0000000742 14522325161016156 0ustar00runner000000 000000 1452235345614522325161# Installation > `npm install --save @types/globalthis` # Summary This package contains type definitions for globalthis (https://github.com/ljharb/System.global#readme). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/globalthis. ### Additional Details * Last updated: Tue, 07 Nov 2023 03:09:37 GMT * Dependencies: none # Credits These definitions were written by [ExE Boss](https://github.com/ExE-Boss). globalthis/implementation.d.ts000644 001751 000177 0000000156 14522325161020505 0ustar00runner000000 000000 1452232516114522325161/** * The `globalThis` object. */ declare const implementation: typeof globalThis; export = implementation; globalthis/index.d.ts000644 001751 000177 0000001005 14522325161016561 0ustar00runner000000 000000 1452232516114522325161/** * Gets the `globalThis` object. */ declare function getGlobal(): typeof globalThis; declare namespace getGlobal { /** * Gets the `globalThis` object. */ function getPolyfill(): ReturnType; /** * The `globalThis` object. */ const implementation: typeof import("./implementation"); /** * Installs the `globalThis` property onto the global object. */ function shim(): ReturnType; } export = getGlobal; globalthis/package.json000644 001751 000177 0000001432 14522325161017162 0ustar00runner000000 000000 1452235345614522325161{ "name": "@types/globalthis", "version": "1.0.4", "description": "TypeScript definitions for globalthis", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/globalthis", "license": "MIT", "contributors": [ { "name": "ExE Boss", "githubUsername": "ExE-Boss", "url": "https://github.com/ExE-Boss" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/globalthis" }, "scripts": {}, "dependencies": {}, "typesPublisherContentHash": "c8f9b51ab9dbd797feb081862fc11dfc496c4c1ea2fc7250d2e19228096d67ca", "typeScriptVersion": "4.5" }globalthis/polyfill.d.ts000644 001751 000177 0000000254 14522325161017311 0ustar00runner000000 000000 1452232516114522325161import implementation = require("./implementation"); /** * Gets the `globalThis` object. */ declare function getPolyfill(): typeof implementation; export = getPolyfill; globalthis/shim.d.ts000644 001751 000177 0000000317 14522325161016417 0ustar00runner000000 000000 1452232516114522325161import implementation = require("./implementation"); /** * Installs the `globalThis` property onto the global object. */ declare function shimGlobalThis(): typeof implementation; export = shimGlobalThis;