Files
tsgo/testdata/baselines/reference/fourslash/quickInfo/quickInfoForArgumentsPropertyNameInJsMode2.baseline
e0069505b9 Use typescript instead of tsx for hover code block language (#3458)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jakebailey <[email protected]>
2026-04-22 17:14:11 +00:00

77 lines
1.5 KiB
Plaintext

// === QuickInfo ===
=== /a.js ===
// function f(x) {
// ^
// | ----------------------------------------------------------------------
// | ```typescript
// | function f(x: any): void
// | ```
// |
// | ----------------------------------------------------------------------
// arguments;
// }
//
// f('');
// ^
// | ----------------------------------------------------------------------
// | ```typescript
// | function f(x: any): void
// | ```
// |
// | ----------------------------------------------------------------------
[
{
"marker": {
"Position": 9,
"LSPosition": {
"line": 0,
"character": 9
},
"Name": "1",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nfunction f(x: any): void\n```\n"
},
"range": {
"start": {
"line": 0,
"character": 9
},
"end": {
"line": 0,
"character": 10
}
}
}
},
{
"marker": {
"Position": 33,
"LSPosition": {
"line": 4,
"character": 0
},
"Name": "2",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nfunction f(x: any): void\n```\n"
},
"range": {
"start": {
"line": 4,
"character": 0
},
"end": {
"line": 4,
"character": 1
}
}
}
}
]