mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
17 lines
451 B
TypeScript
17 lines
451 B
TypeScript
// Type definitions for invariant 2.2.0
|
|
// Project: https://github.com/zertosh/invariant
|
|
// Definitions by: MichaelBennett <https://github.com/bennett000/>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare let invariant:invariant.InvariantStatic;
|
|
|
|
export = invariant;
|
|
export as namespace invariant;
|
|
|
|
declare namespace invariant {
|
|
interface InvariantStatic {
|
|
(testValue:any, format?:string, ...extra:any[]):void;
|
|
}
|
|
}
|
|
|