mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
29 lines
622 B
JSON
29 lines
622 B
JSON
// === goToDefinition ===
|
|
// === /goToDefinitionObjectLiteralProperties1.ts ===
|
|
// interface PropsBag {
|
|
// <|[|propx|]: number|>
|
|
// }
|
|
// function foo(arg: PropsBag) {}
|
|
// foo({
|
|
// pr/*GOTO DEF*/opx: 10
|
|
// })
|
|
// function bar(firstarg: boolean, secondarg: PropsBag) {}
|
|
// bar(true, {
|
|
// propx: 10
|
|
// })
|
|
|
|
|
|
|
|
// === goToDefinition ===
|
|
// === /goToDefinitionObjectLiteralProperties1.ts ===
|
|
// interface PropsBag {
|
|
// <|[|propx|]: number|>
|
|
// }
|
|
// function foo(arg: PropsBag) {}
|
|
// foo({
|
|
// propx: 10
|
|
// })
|
|
// function bar(firstarg: boolean, secondarg: PropsBag) {}
|
|
// bar(true, {
|
|
// pr/*GOTO DEF*/opx: 10
|
|
// }) |