Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e343fd

Browse files
feat(ast-spec): specify LogicalExpression's operator type (typescript-eslint#3497)
1 parent 06c2d9b commit 9e343fd

File tree

1 file changed

+1
-0
lines changed
  • packages/ast-spec/src/expression/LogicalExpression

1 file changed

+1
-0
lines changed

packages/ast-spec/src/expression/LogicalExpression/spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ import type { BinaryExpressionBase } from '../../base/BinaryExpressionBase';
33

44
export interface LogicalExpression extends BinaryExpressionBase {
55
type: AST_NODE_TYPES.LogicalExpression;
6+
operator: '??' | '&&' | '||';
67
}

0 commit comments

Comments
 (0)