Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: TS plugin shouldn't remove
#privateField!
(#14890)
- Loading branch information
1 parent
2626f18
commit 7ddad47
Showing
5 changed files
with
13 additions
and
2 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
2 changes: 2 additions & 0 deletions
2
...l-plugin-transform-typescript/test/fixtures/class/uninitialized-definite-babel-7/input.ts
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,3 +1,5 @@ | ||
class A { | ||
x!; | ||
|
||
#y!; | ||
} |
1 change: 1 addition & 0 deletions
1
...-plugin-transform-typescript/test/fixtures/class/uninitialized-definite-babel-7/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,3 +1,4 @@ | ||
class A { | ||
x; | ||
#y; | ||
} |
2 changes: 2 additions & 0 deletions
2
...escript/test/fixtures/class/uninitialized-definite-with-declare-disabled-babel-7/input.ts
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,3 +1,5 @@ | ||
class A { | ||
x!; | ||
|
||
#y!; | ||
} |
4 changes: 3 additions & 1 deletion
4
...script/test/fixtures/class/uninitialized-definite-with-declare-disabled-babel-7/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 +1,3 @@ | ||
class A {} | ||
class A { | ||
#y; | ||
} |