invariant/LICENSE000666 000000 000000 0000002165 13723527602012123 0ustar00000000 000000 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 invariant/README.md000666 000000 000000 0000001123 13723527602012366 0ustar00000000 000000 # Installation > `npm install --save @types/invariant` # Summary This package contains type definitions for invariant (https://github.com/zertosh/invariant). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/invariant. ### Additional Details * Last updated: Tue, 01 Sep 2020 20:30:58 GMT * Dependencies: none * Global values: `invariant` # Credits These definitions were written by [MichaelBennett](https://github.com/bennett000), [dtinth](https://github.com/dtinth), and [Turadg Aleahmad](https://github.com/turadg). invariant/index.d.ts000666 000000 000000 0000001221 13723527602013007 0ustar00000000 000000 // Type definitions for invariant 2.2 // Project: https://github.com/zertosh/invariant // Definitions by: MichaelBennett // dtinth // Turadg Aleahmad // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare let invariant: invariant.InvariantStatic; export = invariant; export as namespace invariant; declare namespace invariant { interface InvariantStatic { (testValue: false, format: string, ...extra: any[]): never; (testValue: any, format: string, ...extra: any[]): asserts testValue; } } invariant/package.json000666 000000 000000 0000002122 13723527602013375 0ustar00000000 000000 { "name": "@types/invariant", "version": "2.2.34", "description": "TypeScript definitions for invariant", "license": "MIT", "contributors": [ { "name": "MichaelBennett", "url": "https://github.com/bennett000", "githubUsername": "bennett000" }, { "name": "dtinth", "url": "https://github.com/dtinth", "githubUsername": "dtinth" }, { "name": "Turadg Aleahmad", "url": "https://github.com/turadg", "githubUsername": "turadg" } ], "main": "", "types": "index.d.ts", "typesVersions": { "<=3.6": { "*": [ "ts3.6/*" ] } }, "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/invariant" }, "scripts": {}, "dependencies": {}, "typesPublisherContentHash": "e7bffa1dc470ca192b64f5b8b02f0ae83226a84e9dab2beb841e2fb5647451e1", "typeScriptVersion": "3.1" }invariant/ts3.6/000777 000000 000000 0000000000 13723527602011767 5ustar00000000 000000 invariant/ts3.6/index.d.ts000666 000000 000000 0000000436 13723527602013673 0ustar00000000 000000 declare let invariant:invariant.InvariantStatic; export = invariant; export as namespace invariant; declare namespace invariant { interface InvariantStatic { (testValue:false, format:string, ...extra:any[]):never; (testValue:any, format:string, ...extra:any[]):void; } }