mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #29809 from thomasraydeniscool/master
[mongoose] path in depopulate is not required
This commit is contained in:
Vendored
+1
-1
@@ -1121,7 +1121,7 @@ declare module "mongoose" {
|
||||
* Takes a populated field and returns it to its unpopulated state.
|
||||
* If the path was not populated, this is a no-op.
|
||||
*/
|
||||
depopulate(path: string): this;
|
||||
depopulate(path?: string): this;
|
||||
|
||||
/**
|
||||
* Returns true if the Document stores the same data as doc.
|
||||
|
||||
Reference in New Issue
Block a user