Closed
Description
Describe the bug
We are getting an error when using some pipes since we updated Angular Language Service to 0.900.14.
For example, in one of our components we have the following variable:
export class LuBadgeComponent implements OnInit {
@Input() label: string;
...
}
Then, in the template we use the uppercase pipe on it:
<p>
{{ label | uppercase }}
</p>
And we're getting the following error in VS Code:
To Reproduce
Steps to reproduce the behavior:
- Create a component with a string variable
- Use the uppercase pipe on the variable inside the template
- See error
(see the example above)
Expected behavior
We expect no error from this piece of code since the code compiles correctly:
Logs
Please attach two logs:
- Console output
[Info - 18:18:10] Angular language server process ID: 8428
[Info - 18:18:10] Using typescript v3.7.4 from c:\Users\lucas\.vscode\extensions\angular.ng-template-0.900.14\node_modules\typescript\lib\tsserverlibrary.js
[Info - 18:18:10] Using @angular/language-service v9.0.2 from c:\Users\lucas\.vscode\extensions\angular.ng-template-0.900.14\server\node_modules\@angular\language-service\bundles\language-service.umd.js
[Info - 18:18:10] Log file: c:\Users\lucas\AppData\Roaming\Code\logs\20200221T181704\exthost1\Angular.ng-template\nglangsvc.log
- Log file
nglangsvc.log
Additional context
Add any other context about the problem here.