Closed maraisr closed 7 years ago
Hi, so prettier adds a wrapping bracket to the string ('ngInject') . Which isn't compiling correctly.
('ngInject')
class Foo { constructor(private $http) { ('ngInject'); this.$http; // undefined } }
TypeScript -> es2017 -> Babel -> es5.
Original question. https://github.com/schmod/babel-plugin-angularjs-annotate/issues/25
Deprecated - never mind.
Hi, so prettier adds a wrapping bracket to the string
('ngInject')
. Which isn't compiling correctly.TypeScript -> es2017 -> Babel -> es5.
Original question. https://github.com/schmod/babel-plugin-angularjs-annotate/issues/25