mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-10 10:25:03 +00:00
4 lines
114 B
TypeScript
4 lines
114 B
TypeScript
export function assertUnreachable(value: never): never {
|
|
throw new Error(`Unhandled case: ${String(value)}`);
|
|
}
|