Type Alias OnlyFieldsOfType<TSchema, FieldType, AssignableType>
OnlyFieldsOfType<TSchema, FieldType, AssignableType>: IsAny<TSchema[keyof TSchema], AssignableType extends FieldType ? Record<string, FieldType> : Record<string, AssignableType>, AcceptedFields<TSchema, FieldType, AssignableType> & NotAcceptedFields<TSchema, FieldType> & Record<string, AssignableType>> Type Parameters
- TSchema
- FieldType = any
- AssignableType = FieldType