tsd-check
- Version 0.6.0
- Published
- 23.2 kB
- 7 dependencies
- MIT license
Install
npm i tsd-check
yarn add tsd-check
pnpm add tsd-check
Overview
Check TypeScript type definitions
Index
Functions
Functions
function expectError
expectError: <T = any>(value: T) => void;
Assert the value to throw an argument error.
Parameter value
Value that should be checked.
function expectType
expectType: <T>(value: T) => void;
Assert the type of the value.
Parameter value
Value that should be type checked.
Package Files (2)
Dependencies (7)
Dev Dependencies (7)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/tsd-check
.
- Markdown[](https://www.jsdocs.io/package/tsd-check)
- HTML<a href="https://www.jsdocs.io/package/tsd-check"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2354 ms. - Missing or incorrect documentation? Open an issue for this package.