Vscode-ng-language-service: fullTemplateTypeCheck support

Created on 20 Nov 2019  路  6Comments  路  Source: angular/vscode-ng-language-service

I may have ran into an issue or a unsupported configuration

Is fullTemplateTypeCheck angular compiler option supposed to work?

UI:
image

During AOT build I am getting following error:

ERROR in .../src/lib/calendar/calendar.component.html(104,9): Expected 0 arguments, but got 1.

Basically removeHighlightDate does not accept any params and typescript compilation fails, but language service does not indicate this.

Thanks for a great extension overall!

feature ivy lib

Most helpful comment

Full template type checking is a feature planned for version 10. Please stay tuned!

All 6 comments

I think this is because we don't check the call signature of the component methods used in a template.

Full template type checking is a feature planned for version 10. Please stay tuned!

I鈥檓 getting no indication for fullTemplateTypeCheck errors with Angular 10. Is this still a todo?

hi. this is still not working for me. is there any additional configuration needed?

Sorry, this feature is not yet available, we initially planned it for version 10, but it got delayed. We are close to finishing the project though. I'll update this thread once we are ready for an announcement!

To clarify, this is not a feature on its own, rather an entire overhaul of the language service backend to switch from View Engine to the Ivy-native compiler.

This has been fixed by the new Ivy-native language service, released in v11.1.0. It's an opt-in feature for now, please give it a try and let us know if you have any feedback.

Was this page helpful?
0 / 5 - 0 ratings