Skip to content

Updates for TypeScript 3.9 #1143

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

Closed
wants to merge 2 commits into from
Closed

Updates for TypeScript 3.9 #1143

wants to merge 2 commits into from

Conversation

rrdelaney
Copy link
Contributor

TypeScript 3.9 broke using CommonJS as goog.module in two ways:

  • Adding a void 0 assignment for all exports
  • Using Object.defineProperty(exports, ...) for re-exported bindings

These changes fix real problems with CommonJS, but have no impact when using Closure Compiler. With this change tsickle rewrites the new export style to work with goog.module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants