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 c9c1dd2 commit 839d1dcCopy full SHA for 839d1dc
src/mongo_types.ts
@@ -283,7 +283,7 @@ export type PullAllOperator<TSchema> = ({
283
export type UpdateFilter<TSchema> = {
284
$currentDate?: OnlyFieldsOfType<
285
TSchema,
286
- Date | Timestamp | true,
+ true | Date | Timestamp,
287
true | { $type: 'date' | 'timestamp' }
288
>;
289
$inc?: OnlyFieldsOfType<TSchema, NumericType | undefined>;
@@ -588,7 +588,7 @@ export type StrictFilter<TSchema> =
588
export type StrictUpdateFilter<TSchema> = {
589
590
591
- Date | Timestamp,
592
593
594
0 commit comments