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]>
46 lines
853 B
Plaintext
46 lines
853 B
Plaintext
// === QuickInfo ===
|
|
=== /quickInfoLink4.ts ===
|
|
// type A = 1 | 2;
|
|
//
|
|
// switch (0 as A) {
|
|
// /** {@link A} */
|
|
// ^
|
|
// | ----------------------------------------------------------------------
|
|
// | ```typescript
|
|
// | type A = 1 | 2
|
|
// | ```
|
|
// |
|
|
// | ----------------------------------------------------------------------
|
|
// case 1:
|
|
// case 2:
|
|
// break;
|
|
// }
|
|
[
|
|
{
|
|
"marker": {
|
|
"Position": 47,
|
|
"LSPosition": {
|
|
"line": 3,
|
|
"character": 12
|
|
},
|
|
"Name": "",
|
|
"Data": {}
|
|
},
|
|
"item": {
|
|
"contents": {
|
|
"kind": "markdown",
|
|
"value": "```typescript\ntype A = 1 | 2\n```\n"
|
|
},
|
|
"range": {
|
|
"start": {
|
|
"line": 3,
|
|
"character": 12
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"character": 13
|
|
}
|
|
}
|
|
}
|
|
}
|
|
] |