UNPKG

type-plus

Version:
2 lines (1 loc) 62 B
export type NonUndefined<T> = T extends undefined ? never : T