Skip to content

Commit 21d1b62

Browse files
authoredMay 23, 2021
feat(typescript-estree): [TS4.3] support overrides on class members (#3429)
1 parent c3942c9 commit 21d1b62

File tree

115 files changed

+1773
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+1773
-0
lines changed
 

‎packages/ast-spec/src/base/ClassPropertyBase.ts

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ interface ClassPropertyBase extends BaseNode {
2121
optional?: boolean;
2222
definite?: boolean;
2323
typeAnnotation?: TSTypeAnnotation;
24+
override?: boolean;
2425
}
2526

2627
export interface ClassPropertyComputedNameBase extends ClassPropertyBase {

‎packages/ast-spec/src/base/MethodDefinitionBase.ts

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ interface MethodDefinitionBase extends BaseNode {
2121
decorators?: Decorator[];
2222
accessibility?: Accessibility;
2323
typeParameters?: TSTypeParameterDeclaration;
24+
override?: boolean;
2425
}
2526

2627
export interface MethodDefinitionComputedNameBase extends MethodDefinitionBase {

0 commit comments

Comments
 (0)
Please sign in to comment.