export type WithoutNull = T extends null ? never : T;