Optional
@daydreamsai/core / Optional
Type Alias: Optional<T, K>
Optional<
T,K> =Omit<T,K> &Partial<Pick<T,K>>
Defined in: packages/core/src/types.ts:26
Makes specified keys optional in a type
Type Parameters
T
T
The type to modify
K
K extends keyof T
The keys to make optional