mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
e0069505b9
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
48 lines
910 B
Plaintext
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
] |