Skip to content

Commit

Permalink
feat(ast-spec): specify LogicalExpression's operator type (#3497)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Jun 13, 2021
1 parent 06c2d9b commit 9e343fd
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 9e343fd

Please sign in to comment.