Skip to content

Commit 7bb3864

Browse files
vkarpov15hasezoey
andauthored
Update types/index.d.ts
Co-authored-by: hasezoey <hasezoey@gmail.com>
1 parent 8157b25 commit 7bb3864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ declare module 'mongoose' {
688688
type ExclusionProjection<T> = IsItRecordAndNotAny<T> extends true ? Projector<WithLevel1NestedPaths<T>, false | 0> & _IDType : AnyObject;
689689
type ProjectionUnion<T> = InclusionProjection<T> | ExclusionProjection<T>;
690690

691-
export type ProjectionType<T> = (ProjectionUnion<T> & AnyObject) | string | ((...agrs: any) => any);
691+
export type ProjectionType<T> = (ProjectionUnion<T> & AnyObject) | string | ((...args: any) => any);
692692
export type SortValues = SortOrder;
693693

694694
export type SortOrder = -1 | 1 | 'asc' | 'ascending' | 'desc' | 'descending';

0 commit comments

Comments
 (0)