@types/minimalistic-assert
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/minimalistic-assert

Weekly Downloads

13,980

Version

1.0.3

License

MIT

Unpacked Size

2.96 kB

Total Files

5

Last publish

Collaborators

  • types