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 has been archived by the owner on Mar 25, 2021. It is now read-only.
Hi,
I'm working on an angular app.
When I use ngInject for depency injection, I have the error 'expected an assignment or function call'
Is there any way to tell tslint to ignore 'ngInject'; instructions ?
The text was updated successfully, but these errors were encountered:
It might help if you posted more code here.
Do you mean you have a statement that looks like this?
'ngInject';
You could disable tslint for that line using comments. What's the exact rule that's failing here? You can find out using the verbose output option. (I would check, but I'm not at a computer right now)
Hi,
I'm working on an angular app.
When I use ngInject for depency injection, I have the error 'expected an assignment or function call'
Is there any way to tell tslint to ignore 'ngInject'; instructions ?
The text was updated successfully, but these errors were encountered: