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 1306d00 commit 201071bCopy full SHA for 201071b
test/types/PipelineStage.test.ts
@@ -415,3 +415,11 @@ const stages4: PipelineStage[] = [
415
}
416
417
];
418
+
419
+(function gh12096() {
420
+ const data: PipelineStage.AddFields = {
421
+ $addFields: {
422
+ name: { $meta: 'Bill' }
423
+ }
424
+ };
425
+})();
types/expressions.d.ts
@@ -2449,7 +2449,7 @@ declare module 'mongoose' {
2449
FunctionExpression |
2450
ObjectIdExpression |
2451
ConditionalExpressionOperator |
2452
- Expression.Let;
+ any;
2453
2454
export type ObjectIdExpression =
2455
TypeExpressionOperatorReturningObjectId;
0 commit comments