UNPKG

ts-essentials

Version:
2 lines (1 loc) 74 B
export type NonUndefinable<Type> = Type extends undefined ? never : Type;