MCPcopy Create free account
hub / github.com/danvk/webdiff / assertUnreachable

Function assertUnreachable

ts/utils.ts:64–66  ·  view source on GitHub ↗
(x: never)

Source from the content-addressed store, hash-verified

62}
63
64export function assertUnreachable(x: never): never {
65 throw new Error(x);
66}
67
68// See https://effectivetypescript.com/2020/05/12/unionize-objectify/
69export type Unionize<T extends object> = {

Callers 1

makePerceptualBoxDivFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected