Skip to content

Commit b8aa209

Browse files
authored
Update models.d.ts
1 parent b721f54 commit b8aa209

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

types/models.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ declare module 'mongoose' {
3232
PopulateOption,
3333
SessionOption {
3434
limit?: number;
35+
// @deprecated, use includeResultMetadata instead
3536
rawResult?: boolean;
37+
includeResultMetadata?: boolean;
3638
ordered?: boolean;
3739
lean?: boolean;
3840
throwOnValidationError?: boolean;

0 commit comments

Comments
 (0)