Skip to content

Commit

Permalink
fix(types): add $let as a possible expression to $addFields
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelrahmanHafez committed Jul 11, 2022
1 parent 38c53b8 commit 0897fea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion types/expressions.d.ts
Expand Up @@ -2448,7 +2448,8 @@ declare module 'mongoose' {
BinaryExpression |
FunctionExpression |
ObjectIdExpression |
ConditionalExpressionOperator;
ConditionalExpressionOperator |
Expression.Let;

export type ObjectIdExpression =
TypeExpressionOperatorReturningObjectId;
Expand Down

0 comments on commit 0897fea

Please sign in to comment.