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]>
122 lines
2.8 KiB
Plaintext
122 lines
2.8 KiB
Plaintext
// === QuickInfo ===
|
|
=== /jsdocLink4.ts ===
|
|
// declare class I {
|
|
// /** {@link I} */
|
|
// bar(): void
|
|
// ^^^
|
|
// | ----------------------------------------------------------------------
|
|
// | ```typescript
|
|
// | (method) I.bar(): void
|
|
// | ```
|
|
// | [I](file:///jsdocLink4.ts#1,15-1,16)
|
|
// | ----------------------------------------------------------------------
|
|
// }
|
|
// /** {@link I} */
|
|
// var n = 1
|
|
// ^
|
|
// | ----------------------------------------------------------------------
|
|
// | ```typescript
|
|
// | var n: number
|
|
// | ```
|
|
// | [I](file:///jsdocLink4.ts#1,15-1,16)
|
|
// | ----------------------------------------------------------------------
|
|
// /**
|
|
// * A real, very serious {@link I to an interface}. Right there.
|
|
// * @param x one {@link Pos here too}
|
|
// */
|
|
// function f(x) {
|
|
// }
|
|
// f()
|
|
// ^
|
|
// | ----------------------------------------------------------------------
|
|
// | ```typescript
|
|
// | function f(x: any): void
|
|
// | ```
|
|
// | A real, very serious [to an interface](file:///jsdocLink4.ts#1,15-1,16). Right there.
|
|
// |
|
|
// | *@param* `x` — one [here too](file:///jsdocLink4.ts#14,6-14,9)
|
|
// | ----------------------------------------------------------------------
|
|
// type Pos = [number, number]
|
|
[
|
|
{
|
|
"marker": {
|
|
"Position": 42,
|
|
"LSPosition": {
|
|
"line": 2,
|
|
"character": 5
|
|
},
|
|
"Name": "1",
|
|
"Data": {}
|
|
},
|
|
"item": {
|
|
"contents": {
|
|
"kind": "markdown",
|
|
"value": "```typescript\n(method) I.bar(): void\n```\n[I](file:///jsdocLink4.ts#1,15-1,16)"
|
|
},
|
|
"range": {
|
|
"start": {
|
|
"line": 2,
|
|
"character": 2
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"character": 5
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"marker": {
|
|
"Position": 75,
|
|
"LSPosition": {
|
|
"line": 5,
|
|
"character": 5
|
|
},
|
|
"Name": "2",
|
|
"Data": {}
|
|
},
|
|
"item": {
|
|
"contents": {
|
|
"kind": "markdown",
|
|
"value": "```typescript\nvar n: number\n```\n[I](file:///jsdocLink4.ts#1,15-1,16)"
|
|
},
|
|
"range": {
|
|
"start": {
|
|
"line": 5,
|
|
"character": 4
|
|
},
|
|
"end": {
|
|
"line": 5,
|
|
"character": 5
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"marker": {
|
|
"Position": 208,
|
|
"LSPosition": {
|
|
"line": 12,
|
|
"character": 1
|
|
},
|
|
"Name": "3",
|
|
"Data": {}
|
|
},
|
|
"item": {
|
|
"contents": {
|
|
"kind": "markdown",
|
|
"value": "```typescript\nfunction f(x: any): void\n```\nA real, very serious [to an interface](file:///jsdocLink4.ts#1,15-1,16). Right there.\n\n*@param* `x` — one [here too](file:///jsdocLink4.ts#14,6-14,9)"
|
|
},
|
|
"range": {
|
|
"start": {
|
|
"line": 12,
|
|
"character": 0
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"character": 1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
] |