Skip to content

Commit

Permalink
Merge pull request #10515 from andreialecu/perf-types
Browse files Browse the repository at this point in the history
perf: improve typescript type checking performance
  • Loading branch information
vkarpov15 authored Jul 30, 2021
2 parents f1e0de1 + 9c41c19 commit d88f981
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 d88f981

Please sign in to comment.