Makes all properties in an object nullable.
Essential for database result types and API responses where fields can legitimately be null due to LEFT JOINs or missing data.
interface User { id: string; email: string; profile: Profile; }type DatabaseUser = NullableObject<User>; // All fields can be null Copy
interface User { id: string; email: string; profile: Profile; }type DatabaseUser = NullableObject<User>; // All fields can be null
Makes all properties in an object nullable.
Essential for database result types and API responses where fields can legitimately be null due to LEFT JOINs or missing data.