You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you check if you're getting any mismatched peerDependencies? For me the new syntax works.
Here's a test which codelyzer passes:
it('should work with "as" syntax',()=>{letsource=` @Component({ template: \` <ng-container *ngIf="employee$ | async as emp">{{ emp }}</ng-container> \` }) class Test { employee$; }`;assertSuccess('no-access-missing-member',source);});
This line:
<ng-container *ngIf="employee$ | async as emp">
currently produces this error:
The property "emp" that you're trying to access does not exist in the class declaration.
The feature was added to Angular in this PR: angular/angular#15025
The text was updated successfully, but these errors were encountered: