@@ -521,7 +521,7 @@ interface ClassDeclarationBase extends BaseNode {
521
521
522
522
/** this should not be directly used - instead use ClassPropertyComputedNameBase or ClassPropertyNonComputedNameBase */
523
523
interface ClassPropertyBase extends BaseNode {
524
- key : PropertyNameComputed | PropertyNameComputed ;
524
+ key : PropertyName ;
525
525
value : Expression | null ;
526
526
computed : boolean ;
527
527
static : boolean ;
@@ -591,7 +591,7 @@ interface MemberExpressionNonComputedNameBase extends MemberExpressionBase {
591
591
592
592
/** this should not be directly used - instead use MethodDefinitionComputedNameBase or MethodDefinitionNonComputedNameBase */
593
593
interface MethodDefinitionBase extends BaseNode {
594
- key : PropertyNameComputed | PropertyNameComputed ;
594
+ key : PropertyName ;
595
595
value : FunctionExpression | TSEmptyBodyFunctionExpression ;
596
596
computed : boolean ;
597
597
static : boolean ;
@@ -613,7 +613,7 @@ interface MethodDefinitionNonComputedNameBase extends MethodDefinitionBase {
613
613
614
614
interface PropertyBase extends BaseNode {
615
615
type : AST_NODE_TYPES . Property ;
616
- key : PropertyNameComputed | PropertyNameNonComputed ;
616
+ key : PropertyName ;
617
617
value : Expression | AssignmentPattern | BindingName ;
618
618
computed : boolean ;
619
619
method : boolean ;
@@ -638,7 +638,7 @@ interface TSHeritageBase extends BaseNode {
638
638
639
639
interface TSMethodSignatureBase extends BaseNode {
640
640
type : AST_NODE_TYPES . TSMethodSignature ;
641
- key : PropertyNameComputed | PropertyNameNonComputed ;
641
+ key : PropertyName ;
642
642
computed : boolean ;
643
643
params : Parameter [ ] ;
644
644
optional ?: boolean ;
@@ -652,7 +652,7 @@ interface TSMethodSignatureBase extends BaseNode {
652
652
653
653
interface TSPropertySignatureBase extends BaseNode {
654
654
type : AST_NODE_TYPES . TSPropertySignature ;
655
- key : PropertyNameComputed | PropertyNameNonComputed ;
655
+ key : PropertyName ;
656
656
optional ?: boolean ;
657
657
computed : boolean ;
658
658
typeAnnotation ?: TSTypeAnnotation ;
0 commit comments