NoUndefined type

type NoUndefined<T> = T extends undefined ? never : T