devsite/node_modules/assert-never/index.d.ts
2024-07-07 18:49:38 -07:00

5 lines
290 B
TypeScript

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;