Skip to content
scroll to zoom · drag to pan

Pick

type Pick<T, K> = { [P in K]: T[P] };

Defined in: node_modules/@typescript/old/lib/lib.es5.d.ts:1604

From T, pick a set of properties whose keys are in the union K

Type Parameter
T
K extends keyof T