generated at
Pick<T, K extends keyof T>
T から K がkeyなものを抜き取る
型制約がないが、 T は普通はobject
ts
type A = Pick<{ a: string; b: string }, 'a'>; // {a: string}