Files
tsgo/testdata/baselines/reference/fourslash/quickInfo/quickInfoSalsaMethodsOnAssignedFunctionExpressions.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

48 lines
910 B
Plaintext

// === QuickInfo ===
=== /something.js ===
// var C = function () { }
// /**
// * The prototype method.
// * @param {string} a Parameter definition.
// */
// function f(a) {}
// C.prototype.m = f;
//
// var x = new C();
// x.m();
// ^
// | ----------------------------------------------------------------------
// | ```typescript
// | var x: any
// | ```
// |
// | ----------------------------------------------------------------------
[
{
"marker": {
"Position": 155,
"LSPosition": {
"line": 9,
"character": 1
},
"Name": "1",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nvar x: any\n```\n"
},
"range": {
"start": {
"line": 9,
"character": 0
},
"end": {
"line": 9,
"character": 1
}
}
}
}
]