devsite/node_modules/assert-never/index.d.ts

5 lines
290 B
TypeScript
Raw Normal View History

2024-07-08 01:49:38 +00:00
export declare function assertNever(value: never, errorMessage?: string): never;
export declare function assertNever(value: never, getErrorMessage?: (value: unknown) => string): never;
export declare function assertNever(value: never, noThrow?: boolean): never;
export default assertNever;