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 30 31 32 33 34 35 36 37 38 39 40 41 42
|
// === goToDefinition ===
// === /tests/cases/fourslash/gotoDefinitionInObjectBindingPattern2.ts ===
// var p0 = ({a/*GOTO DEF*/a}) => {console.log(aa)};
// function f2({ a1, b1 }: { a1: number, b1: number } = { a1: 0, b1: 0 }) {}
// === goToDefinition ===
// === /tests/cases/fourslash/gotoDefinitionInObjectBindingPattern2.ts ===
// var p0 = ({aa}) => {console.log(aa)};
// function f2({ a/*GOTO DEF*/1, b1 }: { <|[|a1|]: number,|> b1: number } = { a1: 0, b1: 0 }) {}
// === Details ===
[
{
"kind": "property",
"name": "a1",
"containerName": "__type",
"isLocal": false,
"isAmbient": false,
"unverified": false
}
]
// === goToDefinition ===
// === /tests/cases/fourslash/gotoDefinitionInObjectBindingPattern2.ts ===
// var p0 = ({aa}) => {console.log(aa)};
// function f2({ a1, b/*GOTO DEF*/1 }: { a1: number, <|[|b1|]: number|> } = { a1: 0, b1: 0 }) {}
// === Details ===
[
{
"kind": "property",
"name": "b1",
"containerName": "__type",
"isLocal": false,
"isAmbient": false,
"unverified": false
}
]
|