UNPKG

323 BTypeScriptView Raw
1/**
2 * Assert the type of the value.
3 *
4 * @param value - Value that should be type checked.
5 */
6export declare const expectType: <T>(value: T) => void;
7/**
8 * Assert the value to throw an argument error.
9 *
10 * @param value - Value that should be checked.
11 */
12export declare const expectError: <T = any>(value: T) => void;