Vscode-ng-language-service: Unknown method '$any' in VSCode

Created on 8 Apr 2018  路  7Comments  路  Source: angular/vscode-ng-language-service

I've got this error in the Visual Studio Code. Does the Angular Language Service extension support using $any in the template now?

image

Ref: The $any() type cast function

ivy

Most helpful comment

I have the same issue, however it appears only in one file, in other files I use $any no error appears. Are there any conditions on where and how it should not be used?

All 7 comments

I have the same issue, however it appears only in one file, in other files I use $any no error appears. Are there any conditions on where and how it should not be used?

Experiencing the same problem

I experience this error on all occurrences of $any() in all templates.
Is there $any chance this issue could be resolved in the next time? It's quite annoying and seems (I have no idea -> please correct me if I'm wrong) not too complex or time-consuming to fix.

Hi @kyliau, do you know this issue?

@kyliau Is this fix only for Ivy? Which version of this extension will have this fix?

This will be available in @angular/language-service v9.0.0-next.13 onwards or v9 rc. v9 rc is scheduled for later this week or next week.

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings