UNPKG

type-plus

Version:
2 lines (1 loc) 52 B
export type NonNull<T> = T extends null ? never : T