Skip to content

Commit

Permalink
Merge pull request #221 from twibster/fix/inconsistent-query-declarat…
Browse files Browse the repository at this point in the history
…ion-error

ignore ts error for inconsistent query declaration
  • Loading branch information
aravindnc authored Sep 26, 2024
2 parents 6787efa + 57de480 commit 77b248d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ declare module 'mongoose' {
) => void
): Promise<PaginateResult<PaginateDocument<UserType, TMethods, PaginateOptions>>>;
}


// @ts-expect-error overwriting of mongoose Query interface
interface Query<
ResultType,
DocType,
Expand Down

0 comments on commit 77b248d

Please sign in to comment.