mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
set document id property to be optional
This commit is contained in:
Vendored
+1
-1
@@ -871,7 +871,7 @@ declare module "mongoose" {
|
||||
/** Hash containing current validation errors. */
|
||||
errors: Object;
|
||||
/** The string version of this documents _id. */
|
||||
id: string;
|
||||
id?: string;
|
||||
/** This documents _id. */
|
||||
_id: any;
|
||||
/** Boolean flag specifying if the document is new. */
|
||||
|
||||
Reference in New Issue
Block a user