Which programming language is this?
interface Todo {
title: string;
done: boolean;
due: Date;
}
type Preview = Pick<Todo, "title" | "done">;
type Draft = Partial<Omit<Todo, "due">>;
Answer: TypeScript
The built-in utility types
Play Programming Languages ▸
Pick, Omit and Partial applied to an interface are TypeScript-only.