Skip to content

Commit

Permalink
fix(index.d.ts): allow any for $push to allow $push with positi…
Browse files Browse the repository at this point in the history
…onal operator

Re: #10122
  • Loading branch information
vkarpov15 committed Apr 16, 2021
1 parent dad2e20 commit c90140f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2300,7 +2300,7 @@ declare module 'mongoose' {
$addToSet?: mongodb.SetFields<TSchema>;
$pop?: mongodb.OnlyFieldsOfType<TSchema, ReadonlyArray<any>, 1 | -1>;
$pull?: PullOperator<TSchema>;
$push?: mongodb.PushOperator<TSchema>;
$push?: mongodb.PushOperator<TSchema> | any;
$pullAll?: mongodb.PullAllOperator<TSchema>;

/** @see https://docs.mongodb.com/manual/reference/operator/update-bitwise/ */
Expand Down

0 comments on commit c90140f

Please sign in to comment.