diff --git a/types/index.d.ts b/types/index.d.ts index 4396c60baa8..3cd944d0d8f 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -439,7 +439,7 @@ declare module 'mongoose' { type Mutable = { -readonly [K in keyof T]: T[K]; - } + }; type _UpdateQuery = { /** @see https://docs.mongodb.com/manual/reference/operator/update-field/ */