-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(es/typescript): Strip class modifiers (#9399)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
- Loading branch information
1 parent
ab356e9
commit 124e5ff
Showing
69 changed files
with
153 additions
and
1,021 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
swc_fast_ts_strip: patch | ||
swc_core: patch | ||
--- | ||
|
||
fix(es/typescript): Strip class modifiers |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
crates/swc_fast_ts_strip/tests/tsc/accessorsOverrideProperty9.strip.broken
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
crates/swc_fast_ts_strip/tests/tsc/accessorsOverrideProperty9.strip.js
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
crates/swc_fast_ts_strip/tests/tsc/autoAccessor7.strip.broken
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
14 changes: 7 additions & 7 deletions
14
crates/swc_fast_ts_strip/tests/tsc/autoAccessorAllowedModifiers.strip.broken
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,7 +1,7 @@ | ||
x Unexpected token `accessor`. Expected * for generator, private key, identifier or async | ||
,-[$DIR/tests/tsc/autoAccessorAllowedModifiers.strip.js:6:1] | ||
5 | accessor a ; | ||
6 | public accessor b ; | ||
: ^^^^^^^^ | ||
7 | private accessor c ; | ||
`---- | ||
x Unexpected token `!`. Expected * for generator, private key, identifier or async | ||
,-[$DIR/tests/tsc/autoAccessorAllowedModifiers.strip.js:18:1] | ||
17 | accessor ["m"] ; | ||
18 | accessor n! ; | ||
: ^ | ||
19 | } | ||
`---- |
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
6 changes: 0 additions & 6 deletions
6
crates/swc_fast_ts_strip/tests/tsc/classConstructorAccessibility4.strip.broken
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
crates/swc_fast_ts_strip/tests/tsc/classConstructorAccessibility4.strip.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.