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
letGoogleAutocompleteLegacyComponent=classGoogleAutocompleteLegacyComponent{/* @ngInject */constructor($element){'ngInject';}};// <-- NO annotation for class hereGoogleAutocompleteLegacyComponent=Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_libs_angularjs__WEBPACK_IMPORTED_MODULE_2__["LegacyComponent"])({name: 'googleAutocompleteLegacy',template: __webpack_require__(/*! ./google-autocomplete.legacy.component.jade */"./legacy/modules/main/components/google-autocomplete/google-autocomplete.legacy.component.jade"),bindings: {},controllerAs: 'ctrl'})],GoogleAutocompleteLegacyComponent);
Seems problem take place when in generated code class assigned to a variable eq. let Foo = class Foo {}
If your class has a Decorator, then the plugin skips the transformation.
It works for everything else. Tested changing the
/* @ngInject */
comment to different places.I'm using
babel 7
This is the output from babel:
thanks
The text was updated successfully, but these errors were encountered: