assertUnreachable
assertUnreachable(
x,hint?):never
Defined in: ootle/src/errors/index.ts:126
Standard TypeScript exhaustiveness helper. Use at the bottom of a switch over
a discriminated union (or any branch the type system has narrowed to never)
to assert at compile-time that every case is handled — and throw at runtime if
an unhandled value sneaks past the type checker.
Parameters
Section titled “Parameters”never
string
Returns
Section titled “Returns”never