Skip to content

Handle name clashes in generated types - #17

Closed
mrmckeb wants to merge 1 commit into
esmfrom
esm-duplicates
Closed

mrmckeb wants to merge 1 commit into
esmfrom
esm-duplicates

Conversation

@mrmckeb

@mrmckeb mrmckeb commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

This PR builds on #16, ensuring that users with class names styles, default, or $0, won't run into issues.

This should prevent these TypeScript issues.

  • TS2451: Cannot redeclare block-scoped variable
  • TS2528: A module cannot have multiple default export
  • TS2300: Duplicate identifier

@mrmckeb
mrmckeb added this pull request to stack #18 November 23, 2026 07:34
@changeset-bot

changeset-bot Bot commented Nov 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f88ee71

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
css-modules-content-mapper Patch

Not sure what this means? Click here to learn what changesets are.

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

@github-actions

Copy link
Copy Markdown
Contributor

🦋 Changeset detected

Latest commit: f88ee71

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
css-modules-content-mapper Patch

Not sure what this means? Click here to learn what changesets are.

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

@remcohaszing remcohaszing left a comment •

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks! This is great!

I merged this manually.

@remcohaszing
remcohaszing deleted the esm-duplicates branch November 26, 2026 12:41
An error occurred while trying to automatically change base from esm to main November 26, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants