spec.ts
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

spec.ts

npm Build Status

Write tests for your types!

import { assert, _ } from "spec.ts";
 
// Assert two expressions have the same exact type
assert(foo, bar);
 
// Assert the exact type of an expression
assert(foo, _ as ExpectedType);

Readme

Keywords

none

Package Sidebar

Install

npm i spec.ts

Weekly Downloads

180

Version

1.1.3

License

MIT

Unpacked Size

2.65 kB

Total Files

4

Last publish

Collaborators

  • aleclarson