@@ -107,14 +107,15 @@ declare module 'mongoose' {
107
107
IfEquals < PathValueType , BigInt > extends true ? bigint :
108
108
PathValueType extends 'bigint' | 'BigInt' | typeof Schema . Types . BigInt | typeof BigInt ? bigint :
109
109
PathValueType extends 'uuid' | 'UUID' | typeof Schema . Types . UUID ? UUID :
110
- IfEquals < PathValueType , Schema . Types . UUID > extends true ? Buffer :
111
- PathValueType extends MapConstructor | 'Map' ? Map < string , ResolveRawPathType < Options [ 'of' ] > > :
112
- IfEquals < PathValueType , typeof Schema . Types . Map > extends true ? Map < string , ResolveRawPathType < Options [ 'of' ] > > :
113
- PathValueType extends ArrayConstructor ? any [ ] :
114
- PathValueType extends typeof Schema . Types . Mixed ? any :
115
- IfEquals < PathValueType , ObjectConstructor > extends true ? any :
116
- IfEquals < PathValueType , { } > extends true ? any :
117
- PathValueType extends typeof SchemaType ? PathValueType [ 'prototype' ] :
118
- PathValueType extends Record < string , any > ? InferRawDocType < PathValueType > :
119
- unknown ;
110
+ PathValueType extends 'double' | 'Double' | typeof Schema . Types . Double ? Types . Double :
111
+ IfEquals < PathValueType , Schema . Types . UUID > extends true ? Buffer :
112
+ PathValueType extends MapConstructor | 'Map' ? Map < string , ResolveRawPathType < Options [ 'of' ] > > :
113
+ IfEquals < PathValueType , typeof Schema . Types . Map > extends true ? Map < string , ResolveRawPathType < Options [ 'of' ] > > :
114
+ PathValueType extends ArrayConstructor ? any [ ] :
115
+ PathValueType extends typeof Schema . Types . Mixed ? any :
116
+ IfEquals < PathValueType , ObjectConstructor > extends true ? any :
117
+ IfEquals < PathValueType , { } > extends true ? any :
118
+ PathValueType extends typeof SchemaType ? PathValueType [ 'prototype' ] :
119
+ PathValueType extends Record < string , any > ? InferRawDocType < PathValueType > :
120
+ unknown ;
120
121
}
0 commit comments