1interface Todo {
2 title: string;
3 description: string;
4 completed: boolean;
5 createdAt: number;
6}
7
8type TodoPreview = Omit<Todo, "description">;
1tstype Person = { name: string; age: number; location: string;};type QuantumPerson = Omit<Person, "location">;// equivalent totype QuantumPerson = { name: string; age: number;};