File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -493,7 +493,7 @@ declare module 'mongoose' {
493
493
export type NumberSchemaDefinition = typeof Number | 'number' | 'Number' | typeof Schema . Types . Number ;
494
494
export type StringSchemaDefinition = typeof String | 'string' | 'String' | typeof Schema . Types . String ;
495
495
export type BooleanSchemaDefinition = typeof Boolean | 'boolean' | 'Boolean' | typeof Schema . Types . Boolean ;
496
- export type DateSchemaDefinition = typeof NativeDate | 'date' | 'Date' | typeof Schema . Types . Date ;
496
+ export type DateSchemaDefinition = DateConstructor | 'date' | 'Date' | typeof Schema . Types . Date ;
497
497
export type ObjectIdSchemaDefinition = 'ObjectId' | 'ObjectID' | typeof Schema . Types . ObjectId ;
498
498
499
499
export type SchemaDefinitionWithBuiltInClass < T > = T extends number
You can’t perform that action at this time.
0 commit comments