export type Invalidated = null | T extends object ? { [K in keyof T]: null | T; } : never;