File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ declare module 'mongoose' {
1616 SchemaDefinition ,
1717 TSchemaOptions extends Record < any , any > = DefaultSchemaOptions ,
1818 TTransformOptions = { bufferToBinary : false }
19- > = Require_id < ApplySchemaOptions < {
19+ > = ApplySchemaOptions < {
2020 [
2121 K in keyof ( RequiredPaths < SchemaDefinition , TSchemaOptions [ 'typeKey' ] > &
2222 OptionalPaths < SchemaDefinition , TSchemaOptions [ 'typeKey' ] > )
2323 ] : IsPathRequired < SchemaDefinition [ K ] , TSchemaOptions [ 'typeKey' ] > extends true
2424 ? ObtainRawDocumentPathType < SchemaDefinition [ K ] , TSchemaOptions [ 'typeKey' ] , TTransformOptions >
2525 : ObtainRawDocumentPathType < SchemaDefinition [ K ] , TSchemaOptions [ 'typeKey' ] , TTransformOptions > | null ;
26- } , TSchemaOptions > > ;
26+ } , TSchemaOptions > ;
2727
2828 export type InferRawDocType <
2929 SchemaDefinition ,
You can’t perform that action at this time.
0 commit comments