4 lines
110 B
TypeScript
4 lines
110 B
TypeScript
![]() |
export function notReachable(error: string): never {
|
||
|
throw new Error(`Shouldn't reach here: ${error}`);
|
||
|
}
|