Issue
If I write a method name in angular template (HTML) that doesn't exist in angular component, the method is not underlining in the template. It should warn me that save() doesn't exist. I'm using Angular 11 and VS Code, and I have seen this functionality somewhere.
How can I make the underline show in VS Code when the method in the angular template doesn't exist?
<button (click)="save()">Save</button>
Solution
Install this vscode extension Angular Language Service.
Answered By - Naveed Ullah
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.