- Preparing search index...
- The search index is not available
mongodb
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