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

Version 2.8.0 ES5 Incompatibility #274

Closed
nathaniel-norton opened this issue Oct 31, 2024 · 0 comments · Fixed by #275
Closed

Version 2.8.0 ES5 Incompatibility #274

nathaniel-norton opened this issue Oct 31, 2024 · 0 comments · Fixed by #275

Comments

@nathaniel-norton
Copy link

The tslib.js file in version 2.8.0 is no longer compatible with ES5 due to the export syntax added in commit f63baa3.

Our current workaround is to convert tslib.js to a .ts file, add // @ts-nocheck to the top of the file, and then let typescript transpile it correctly to our target JavaScript version.

Is the lack of ongoing compatibility for ES5 environments intentional or can this be resolved directly in tslib.js?

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 a pull request may close this issue.

1 participant