Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
cad37b424This file is pinned to the selected release. Download the original to open it in your design tool.
export const exhaustiveCheck = (x: never): never => {
throw new Error("Didn't expect to get here", x)
}
export const isSome = <T>(v: T | null | undefined): v is T => {
return v !== null && v !== undefined
}
export type NoUndefinedField<T> = {
[P in keyof T]-?: NoUndefinedField<NonNullable<T[P]>>
}