1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
// === goToDefinition ===
// === /tests/cases/fourslash/goToDefinitionExpandoElementAccess.ts ===
// function f() {}
// <|f[[|{| defId: 0 |}"x"|]]|> = 0;
// <|f[/*GOTO DEF*/[|{| textSpan: true, defId: 1 |}"x"|]]|> = 1;
// === Details ===
[
{
"defId": 0,
"kind": "property",
"name": "\"x\"",
"containerName": "f",
"isLocal": true,
"isAmbient": false,
"unverified": false,
"failedAliasResolution": false
},
{
"defId": 1,
"kind": "property",
"name": "\"x\"",
"containerName": "f",
"isLocal": true,
"isAmbient": false,
"unverified": false,
"failedAliasResolution": false
}
]
|