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

feat: transform tslib __rest helper using goog.reflect.objectProperty #68

Closed
wants to merge 3 commits into from

Conversation

theseanl
Copy link
Owner

Typescript when target is less than ES2018 emits __rest helper for object spread syntax,
which references properties' name via string literal hence breaks Closure Compilation.
We transforms such names to appropriate goog.reflect.objectProperty calls to make it compatible with
Closure Compiler, as described in angular/tsickle#1047.

Typescript when target is less than ES2018 emits `__rest` helper for object spread syntax,
which references properties' name via string literal hence breaks Closure Compilation.
We transforms such names to appropriate `goog.reflect.objectProperty` calls to make it compatible with
Closure Compiler, as described in  angular/tsickle#1047.
@theseanl
Copy link
Owner Author

Merged by e4931eb

@theseanl theseanl closed this Sep 25, 2019
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.

None yet

1 participant