Skip to content

Commit

Permalink
Update models.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 authored Aug 10, 2024
1 parent 50b26dc commit 8d6422b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/models.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ declare module 'mongoose' {
/** Creates a `distinct` query: returns the distinct values of the given `field` that match `filter`. */
distinct<DocKey extends string, ResultType = unknown>(
field: DocKey,
filter?: RootFilterQuery<TRawDocType>
filter?: RootFilterQuery<TRawDocType>,
options?: QueryOptions<TRawDocType>
): QueryWithHelpers<
Array<
Expand Down

0 comments on commit 8d6422b

Please sign in to comment.