Skip to content

Commit

Permalink
perf: improve typescript type checking performance
Browse files Browse the repository at this point in the history
  • Loading branch information
andreialecu committed Jul 30, 2021
1 parent f1e0de1 commit 9c41c19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2494,9 +2494,9 @@ declare module 'mongoose' {
? mongodb.Condition<T[P]>
: mongodb.Condition<T[P] | string>;
} &
mongodb.RootQuerySelector<T>;
mongodb.RootQuerySelector<DocumentDefinition<T>>;

export type FilterQuery<T> = _FilterQuery<DocumentDefinition<T>>;
export type FilterQuery<T> = _FilterQuery<T>;

type NumericTypes = number | mongodb.Decimal128 | mongodb.Double | mongodb.Int32 | mongodb.Long;

Expand Down

0 comments on commit 9c41c19

Please sign in to comment.