-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No error for undefined variables when using *ngIf #1985
Comments
Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. It seems likely that your project is not using strict template type checking. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information. If the problem still exists in your application, please open a new issue and follow the instructions in the issue template. |
@atscott |
|
i think i have to clean much code firstly ;-) |
@enersis-pst There is also an extension option to force strict templates without changing your |
thanks thats what i need ;-) |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Description
Not existing variables woudnt show an error. This is the case of elements which parent have a
*ngIf
.In this example the variable
context_
doesnt exist. But for the neasted element this woudnt show an error.🌍 Your Environment
Angular Version: 16.1
Angular Language Service: 17.0.3
@angular-devkit/architect 0.1602.10
@angular-devkit/build-angular 16.2.10
@angular-devkit/core 16.2.10
@angular-devkit/schematics 16.1.8
@angular/cli 16.1.8
@schematics/angular 16.1.8
rxjs 7.8.1
typescript 5.1.6
zone.js 0.13.3
Extension Version:
17.0.3
VSCode Version:
1.85.1
Operating System:
macos 12.3.1 (21E258)
The text was updated successfully, but these errors were encountered: