ts-check is not convenient when using angular 1.5 component binding injection #26192
Labels
javascript
JavaScript support issues
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
Example code:
MyController.js
The
this.world
is marked as error, as supposed to be. But it is actually pretty annoying, because in angular you need to use quite often those component bindings. I know there's the option// @ts-ignore
, but that really pollutes the code and makes it less readable.An extensions for this would be really useful.
I use this workaround at the moment
I don't like this at all, but better than writing
// @ts-ignore
.Is there any other option / workaround?
The text was updated successfully, but these errors were encountered: