UNPKG

@types/minimalistic-assert

Version:
27 lines (19 loc) 818 B
# Installation > `npm install --save @types/minimalistic-assert` # Summary This package contains type definitions for minimalistic-assert (https://github.com/calvinmetcalf/minimalistic-assert). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/minimalistic-assert. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/minimalistic-assert/index.d.ts) ````ts declare function assert(val: any, msg?: string): asserts val; declare namespace assert { function equal<T>(l: T, r: T, msg?: string): void; } export = assert; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 09:09:39 GMT * Dependencies: none # Credits These definitions were written by [Junxiao Shi](https://github.com/yoursunny).