Skip to main content

Type Alias: SubType<T, TRequired, TOptional>

SubType<T, TRequired, TOptional>: Required<Pick<T, TRequired>> & Partial<Pick<T, TOptional>>

Type Parameters

Type ParameterDefault type
T-
TRequired extends keyof Tkeyof T
TOptional extends keyof Tkeyof T