Files
tsgo/testdata/baselines/reference/submodule/fourslash/goToDefinition/gotoDefinitionInObjectBindingPattern2.baseline.jsonc
39c5a3352e Fix go-to-definition for binding elements in ObjectBindingPattern (#2842)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: DanielRosenwasser <[email protected]>
2026-02-20 22:15:28 +00:00

18 lines
648 B
JSON

// === goToDefinition ===
// === /gotoDefinitionInObjectBindingPattern2.ts ===
// var p0 = ({a/*GOTO DEF*/a}) => {console.log(aa)};
// function f2({ a1, b1 }: { a1: number, b1: number } = { a1: 0, b1: 0 }) {}
// === goToDefinition ===
// === /gotoDefinitionInObjectBindingPattern2.ts ===
// var p0 = ({aa}) => {console.log(aa)};
// function f2({ a/*GOTO DEF*/1, b1 }: { <|[|a1|]: number,|> b1: number } = { a1: 0, b1: 0 }) {}
// === goToDefinition ===
// === /gotoDefinitionInObjectBindingPattern2.ts ===
// var p0 = ({aa}) => {console.log(aa)};
// function f2({ a1, b/*GOTO DEF*/1 }: { a1: number, <|[|b1|]: number|> } = { a1: 0, b1: 0 }) {}