Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(es/typescript): Fix replacement logic of fast TS strip #9163

Merged
merged 3 commits into from
Jul 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add a test
  • Loading branch information
kdy1 committed Jul 6, 2024
commit 5c3fa0f25d4138e34e10dc534f8ffc1b4d1ae2d3
5 changes: 5 additions & 0 deletions crates/swc_fast_ts_strip/tests/fixture/test-1.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
interface Foo {
bar: string
}

throw new Error('Whitespacing')