Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c13e528
commit d7e8868
Showing
3 changed files
with
8 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
packages/babel-generator/test/fixtures/typescript/class-modifier-override/input.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
class MyClass extends BaseClass { | ||
override show() {} | ||
override public show() {} | ||
public override show() {} | ||
override size = 5; | ||
override readonly size = 5; | ||
readonly override size = 5; | ||
public static override readonly size = 5; | ||
} |
9 changes: 3 additions & 6 deletions
9
packages/babel-generator/test/fixtures/typescript/class-modifier-override/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
class MyClass extends BaseClass { | ||
override show() {} | ||
|
||
override public show() {} | ||
|
||
override public show() {} | ||
public override show() {} | ||
|
||
override size = 5; | ||
override readonly size = 5; | ||
override readonly size = 5; | ||
} | ||
public static override readonly size = 5; | ||
} |