Skip to content

Conversation

@magic-akari
Copy link
Member

@magic-akari magic-akari requested a review from a team as a code owner February 16, 2025 06:41
@changeset-bot
Copy link

changeset-bot bot commented Feb 16, 2025

⚠️ No Changeset found

Latest commit: d2f441f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@kdy1 kdy1 changed the title fix(ts/fast-strip): Add tests for declare module error cases test(ts/fast-strip): Add tests for declare module error cases Feb 17, 2025
@kdy1 kdy1 added this to the Planned milestone Feb 17, 2025
@kdy1 kdy1 merged commit 37672e0 into swc-project:main Feb 17, 2025
170 of 171 checks passed
@magic-akari magic-akari deleted the type-strip/test-case branch February 17, 2025 07:51
@kdy1 kdy1 modified the milestones: Planned, v1.10.17 Feb 18, 2025
`;
exports[`transform in transform mode should throw an error when it encounters a declared module 1`] = `
" x \`module\` keyword is not supported. Use \`namespace\` instead.
Copy link
Contributor

@marco-ippolito marco-ippolito Feb 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@magic-akari @kdy1 its missing the error code "Unsupported Syntax" in transform mode
nodejs/amaro#177

@swc-project swc-project locked as resolved and limited conversation to collaborators Mar 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants