Skip to content
sigma.js sigma.js
v4.0.6 Docs Examples GitHub 12.2K

PartialButFor

PartialButFor<T, K> = Pick<T, K> & Partial<Omit<T, K>> & object

Defined in: packages/sigma/src/types.ts:46

Returns a type similar to T, but with the K set of properties of the type T required, and the rest optional.

T

K extends keyof T