UNPKG

178 BTypeScriptView Raw
1/**
2 * AssertNever is a utility function that can be used for exhaustiveness checks in switch statements.
3 *
4 * @public
5 */
6export declare function assertNever(x: never): never;