MCPcopy
hub / github.com/drizzle-team/drizzle-orm / assertUnreachable

Function assertUnreachable

drizzle-kit/src/global.ts:4–6  ·  view source on GitHub ↗
(x: never | undefined)

Source from the content-addressed store, hash-verified

2export const snapshotVersion = '7';
3
4export function assertUnreachable(x: never | undefined): never {
5 throw new Error("Didn't expect to get here");
6}
7
8// don't fail in runtime, types only
9export function softAssertUnreachable(x: never) {

Callers 15

withCasingFunction · 0.90
dbColumnNameFunction · 0.90
withCasingFunction · 0.90
dbColumnNameFunction · 0.90
dbColumnNameFunction · 0.90
normaliseSQLiteUrlFunction · 0.90
prepareCasingFunction · 0.90
dbColumnNameFunction · 0.90
prepareCasingFunction · 0.90
dbColumnNameFunction · 0.90
drizzleForPostgresFunction · 0.90
drizzleForSQLiteFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected