Skip to content

Commit

Permalink
Allow null as second parameter in ne expression
Browse files Browse the repository at this point in the history
  • Loading branch information
jyeros committed Jun 28, 2022
1 parent 6a068ee commit 73cac19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/expressions.d.ts
Expand Up @@ -1034,7 +1034,7 @@ declare module 'mongoose' {
*
* @see https://docs.mongodb.com/manual/reference/operator/aggregation/ne/#mongodb-expression-exp.-ne
*/
$ne: Expression | [Expression, Expression] | null;
$ne: Expression | [Expression, Expression | NullExpression] | null;
}

export interface Cond {
Expand Down

0 comments on commit 73cac19

Please sign in to comment.