You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
// `missingCaseError` is useful for compile-time checking that all `case`s in
|
|
// a `switch` statement have been handled, e.g.
|
|
//
|
|
|
|
export const missingCaseError = (x: never): TypeError => new TypeError(`Unhandled case: ${x}`);
|