![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | LICENSE | 4 years ago | 1.1K | 7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك] |
![]() | README.md | 4 years ago | 1.3K | f12eb36 documentaiton updates [كارل مبارك] |
![]() | index.d.ts | 4 years ago | 657 | |
![]() | package.json | 2 years ago | 1.8K | 7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك] |
npm install --save @types/invariant
This package contains type definitions for invariant (https://github.com/zertosh/invariant).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/invariant.
// Type definitions for invariant 2.2
// Project: https://github.com/zertosh/invariant
// Definitions by: MichaelBennett <https://github.com/bennett000>
// dtinth <https://github.com/dtinth>
// Turadg Aleahmad <https://github.com/turadg>
// 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
These definitions were written by MichaelBennett, dtinth, and Turadg Aleahmad.