Type Alias: SubType<T, TRequired, TOptional>
SubType<
T
,TRequired
,TOptional
>:Required
<Pick
<T
,TRequired
>> &Partial
<Pick
<T
,TOptional
>>
Type Parameters
Type Parameter | Default type |
---|---|
T | - |
TRequired extends keyof T | keyof T |
TOptional extends keyof T | keyof T |