You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 22, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on May 22, 2025. It is now read-only.
tsickle should emit goog.reflect.objectProperty for property names passed to __rest tslib helper #1047
rest destructuring assignments are not safe for closure compiler because tsc/tsickle emits property names as quoted strings. It looks like it should be pretty simple to apply goog.reflect.objectProperty here
Activity
evmar commentedon Jul 23, 2019
To hook this, I think we'd need to postprocess the JS output to look for calls to
__rest(really tslib's rest).jplaisted commentedon Jul 23, 2019
Alternatively can tsickle just emit the same code? Why is it lowering the language level?
feat: transform tslib __rest helper using goog.reflect.objectProperty
feat: transform tslib __rest helper using goog.reflect.objectProperty
brad4d commentedon Nov 3, 2020
Internal issue created http://b/171341422