diff --git a/types/document.d.ts b/types/document.d.ts index 8e5f5824a4..927e7ad03c 100644 --- a/types/document.d.ts +++ b/types/document.d.ts @@ -18,7 +18,7 @@ declare module 'mongoose' { * * TQueryHelpers - Object with any helpers that should be mixed into the Query type * * DocType - the type of the actual Document created */ - class Document, TSchemaOptions = {}> { + class Document, TSchemaOptions = {}> { constructor(doc?: any); /** This documents _id. */