UNPKG

tsd-check

Version:
21 lines (20 loc) 510 B
"use strict"; 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 };