type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;
type Person = {
name: string;
age: number;
location: string;
};
type RemainingKeys = Exclude<keyof Person, "location">;
type QuantumPerson = Pick<Person, RemainingKeys>;
// equivalent to
type QuantumPerson = {
name: string;
age: number;
};
type QuantumPersion = Omit<Person, "location">