Skip to content

Revert TS string enum generation#4174

Merged
daxpedda merged 1 commit intowasm-bindgen:mainfrom
daxpedda:revert-ts-string-enum
Oct 10, 2024
Merged

Revert TS string enum generation#4174
daxpedda merged 1 commit intowasm-bindgen:mainfrom
daxpedda:revert-ts-string-enum

Conversation

@daxpedda
Copy link
Copy Markdown
Member

This reverts string enums generating TS types, as it could easily pollute the bindings by all the enums generated in web-sys or custom bindings in various libraries.

Cc @RunDevelopment.

Reverts parts of #4147.
Reopens #2153.
Fixes #4163.

@daxpedda daxpedda force-pushed the revert-ts-string-enum branch from dec1796 to 47b5de9 Compare October 10, 2024 21:23
@daxpedda daxpedda force-pushed the revert-ts-string-enum branch from 47b5de9 to 3b46d20 Compare October 10, 2024 21:28
@daxpedda daxpedda merged commit c625644 into wasm-bindgen:main Oct 10, 2024
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.

Unnecessary Typescript definitions are created for web_sys string enums

1 participant