UNPKG

443 BTypeScriptView Raw
1// Type definitions for minimalistic-assert 1.0
2// Project: https://github.com/calvinmetcalf/minimalistic-assert
3// Definitions by: Junxiao Shi <https://github.com/yoursunny>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5// Minimum TypeScript Version: 3.7
6
7declare function assert(val: any, msg?: string): asserts val;
8
9declare namespace assert {
10 function equal<T>(l: T, r: T, msg?: string): void;
11}
12
13export = assert;