We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7e9816 commit 0960faeCopy full SHA for 0960fae
types/document.d.ts
@@ -179,7 +179,7 @@ declare module 'mongoose' {
179
* Returns true if any of the given paths are modified, else false. If no arguments, returns `true` if any path
180
* in this document is modified.
181
*/
182
- isModified(path?: string | Array<string>): boolean;
+ isModified(path?: string | Array<string>, options?: { ignoreAtomics?: boolean } | null): boolean;
183
184
/** Boolean flag specifying if the document is new. */
185
isNew: boolean;
0 commit comments