Mark optional properties with ?:
type User = {
name: string;
email?: string; // Optional
};
const user1: User = { name: "Alice" }; // OK
const user2: User = { name: "Bob", email: "b@x" }; // OK
Access optional properties safely with optional chaining: user.email?.length.