Code QuizAdvanced

Pick with a non-existent key

Pick<T, K> only accepts keys that actually exist on T.

Codetypescript
interface Todo {
  title: string;
  description: string;
  done: boolean;
}

type Preview = Pick<Todo, "title" | "completed">; // Error

What is the bug in the Pick usage?