Skip to content

Commit

Permalink
fix(ast-spec): specify LogicalExpression's operator type
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Jun 12, 2021
1 parent 06c2d9b commit 08efa2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ast-spec/src/expression/LogicalExpression/spec.ts
Expand Up @@ -3,4 +3,5 @@ import type { BinaryExpressionBase } from '../../base/BinaryExpressionBase';

export interface LogicalExpression extends BinaryExpressionBase {
type: AST_NODE_TYPES.LogicalExpression;
operator: '??' | '&&' | '||';
}

0 comments on commit 08efa2d

Please sign in to comment.