mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
18 lines
453 B
TypeScript
18 lines
453 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;
|
|
|
|
declare module "invariant" {
|
|
export = invariant;
|
|
}
|
|
|
|
declare namespace invariant {
|
|
interface InvariantStatic {
|
|
(testValue:any, format?:string, ...extra:any[]):void;
|
|
}
|
|
}
|
|
|