tsd-check
Version:
Check TypeScript type definitions
21 lines (20 loc) • 510 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Assert the type of the value.
*
* @param value - Value that should be type checked.
*/
// @ts-ignore
exports.expectType = (value) => {
// Do nothing, the TypeScript compiler handles this for us
};
/**
* Assert the value to throw an argument error.
*
* @param value - Value that should be checked.
*/
// @ts-ignore
exports.expectError = (value) => {
// Do nothing, the TypeScript compiler handles this for us
};