mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
In the Document interface definition of mongoose.d.ts, the _id field definition of _id: Types.ObjectId was wrong, as it can be any type. This commit changes the definition to _id: any to allow interfaces that extend Document to refine the definition of _id as appropriate to match the schema of the model/collection. |
||
|---|---|---|
| .. | ||
| mongoose-tests.ts | ||
| mongoose.d.ts | ||