about summary refs log tree commit diff
path: root/templates/javascript/src/lib.ts
blob: 38ba65bc5db42010424b08bba572165d14a2cca0 (plain) (blame)
1
2
3
export function unreachable(msg: string): never {
  throw new Error(msg);
}