diff --git a/types/query.d.ts b/types/query.d.ts index 68d2e5072a5..128d7fd26a7 100644 --- a/types/query.d.ts +++ b/types/query.d.ts @@ -32,7 +32,9 @@ declare module 'mongoose' { 'strictQuery' | 'timestamps' | 'translateAliases' - >; + > & { + [other: string]: any; + }; type ProjectionFields = { [Key in keyof DocType]?: any } & Record;