export type NonUndefined = T extends undefined ? never : T;