fix(language-service): Resolve template variable in nested ngFor (#33676)
This commit fixes a bug whereby template variables in nested scope are not resolved properly and instead are simply typed as `any`. PR closes https://github.com/angular/vscode-ng-language-service/issues/144 PR Close #33676
This commit is contained in:

committed by
Kara Erickson

parent
72796b98b1
commit
66157436f8
@ -189,6 +189,7 @@ export class TemplateReference {
|
||||
title = 'Some title';
|
||||
hero: Hero = {id: 1, name: 'Windstorm'};
|
||||
heroes: Hero[] = [this.hero];
|
||||
league: Hero[][] = [this.heroes];
|
||||
anyValue: any;
|
||||
myClick(event: any) {}
|
||||
}
|
||||
|
Reference in New Issue
Block a user