8 lines
280 B
TypeScript
8 lines
280 B
TypeScript
/**
|
|
* Assert that the given member is of type `never`. This is useful for
|
|
* exhaustive checks in switch statements or conditional logic.
|
|
*
|
|
* @param _member - The member to check, which should be of type `never`.
|
|
*/
|
|
export declare function assertIsNever(_member: never): void
|