Skip to content

Commit

Permalink
Correctly prefix with $
Browse files Browse the repository at this point in the history
  • Loading branch information
coyotte508 committed Nov 22, 2022
1 parent aa06f1d commit 616ce5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/pipelinestage.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ declare module 'mongoose' {

export interface ReplaceWith {
/** [`$replaceWith` reference](https://docs.mongodb.com/manual/reference/operator/aggregation/replaceWith/) */
$replaceWith: ObjectExpressionOperator | { [field: string]: Expression } | `${string}`;
$replaceWith: ObjectExpressionOperator | { [field: string]: Expression } | `$${string}`;
}

export interface Sample {
Expand Down

0 comments on commit 616ce5d

Please sign in to comment.