Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants