1 | declare let invariant: invariant.InvariantStatic;
|
2 |
|
3 | export = invariant;
|
4 | export as namespace invariant;
|
5 |
|
6 | declare namespace invariant {
|
7 | interface InvariantStatic {
|
8 | (testValue: false, format: string, ...extra: any[]): never;
|
9 | (testValue: any, format: string, ...extra: any[]): asserts testValue;
|
10 | }
|
11 | }
|