-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 all class modifiers
- Loading branch information
1 parent
749ad4d
commit eecda56
Showing
67 changed files
with
130 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
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.
7 changes: 0 additions & 7 deletions
7
crates/swc_fast_ts_strip/tests/tsc/classConstructorAccessibility5.strip.broken
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.