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 8157b25 commit 7bb3864Copy full SHA for 7bb3864
types/index.d.ts
@@ -688,7 +688,7 @@ declare module 'mongoose' {
688
type ExclusionProjection<T> = IsItRecordAndNotAny<T> extends true ? Projector<WithLevel1NestedPaths<T>, false | 0> & _IDType : AnyObject;
689
type ProjectionUnion<T> = InclusionProjection<T> | ExclusionProjection<T>;
690
691
- export type ProjectionType<T> = (ProjectionUnion<T> & AnyObject) | string | ((...agrs: any) => any);
+ export type ProjectionType<T> = (ProjectionUnion<T> & AnyObject) | string | ((...args: any) => any);
692
export type SortValues = SortOrder;
693
694
export type SortOrder = -1 | 1 | 'asc' | 'ascending' | 'desc' | 'descending';
0 commit comments