diff --git a/types/mongoose/index.d.ts b/types/mongoose/index.d.ts index 19551684e0..300a0da6f8 100644 --- a/types/mongoose/index.d.ts +++ b/types/mongoose/index.d.ts @@ -1119,7 +1119,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.