Ian Luca
Ian Luca
That is unfortunate. How about adding options to `ngInject`? Something like: `/* @ngInject({autoAsign: true}) */` This is how annotations works in other languages. About the issue of `ngInject` inside `angular.module()`,...
Anyone facing this, the issue comes from babel: https://github.com/babel/babel/issues/8049 As a workaround, you can pass `isTSX: true` in the options (even though you might not be using TypeScript): ```js {...
@otahontas any thoughts on this? Would you accept a PR with the suggested fix?
@otahontas can you review please? Also, do you want me to add a changeset? The bot complains I didn't add one, but I see all changesets were deleted.
@otahontas friendly ping!
Hey @otahontas! Thanks for generating the changeset and fixing the CI. Cherry-picked the commits.
> @Honey20, could you try setting the `typescript.tsserver.experimental.useVsCodeWatcher` setting to `false` to see if that helps? That worked for me, @lszomoru!
Would it be an idea to have some integration with JSON schemas?
Yeah, just validation could make sense to do in user land. But facilitating editing, e.g. auto suggesting keys/values, could be a generic thing. Anyway, I had to move to Monaco...
I'm seeing the same - testing react components.