typesciprt pick code example Example: typescript pick type TodoPreview = Pick<Todo, "title" | "completed">;