fix(language-service): bug of accessing a string index signature using dot notation (#34177)

PR Close #34177
This commit is contained in:
ivanwonder
2019-12-02 15:22:07 +08:00
committed by Andrew Kushnir
parent 5f0703de16
commit 72a5a8cab7
3 changed files with 18 additions and 4 deletions

View File

@ -192,6 +192,7 @@ export class TemplateReference {
tupleArray: [string, Hero] = ['test', this.hero];
league: Hero[][] = [this.heroes];
heroesByName: {[name: string]: Hero} = {};
primitiveType: {[name: string]: string} = {};
anyValue: any;
myClick(event: any) {}
}