TypeScript -Auswahltyp von der Schnittstelle
interface Todo { title: string; description: string; completed: boolean;}
type TodoPreview = Pick<Todo, "title" | "completed">;
const todo: TodoPreview = { title: "Clean room", completed: false,};
todo; const todo: TodoPreviewTry
Inexpensive Ibex