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