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

183 lines
3.7 KiB
Plaintext

// === QuickInfo ===
=== /quickInfoDisplayPartsClass.ts ===
// class c {
// ^
// | ----------------------------------------------------------------------
// | ```typescript
// | class c
// | ```
// |
// | ----------------------------------------------------------------------
// }
// var cInstance = new c();
// ^^^^^^^^^
// | ----------------------------------------------------------------------
// | ```typescript
// | var cInstance: c
// | ```
// |
// | ----------------------------------------------------------------------
// ^
// | ----------------------------------------------------------------------
// | ```typescript
// | constructor c(): c
// | ```
// |
// | ----------------------------------------------------------------------
// var cVal = c;
// ^^^^
// | ----------------------------------------------------------------------
// | ```typescript
// | var cVal: typeof c
// | ```
// |
// | ----------------------------------------------------------------------
// ^
// | ----------------------------------------------------------------------
// | ```typescript
// | class c
// | ```
// |
// | ----------------------------------------------------------------------
[
{
"marker": {
"Position": 6,
"LSPosition": {
"line": 0,
"character": 6
},
"Name": "1",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nclass c\n```\n"
},
"range": {
"start": {
"line": 0,
"character": 6
},
"end": {
"line": 0,
"character": 7
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 16,
"LSPosition": {
"line": 2,
"character": 4
},
"Name": "2",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nvar cInstance: c\n```\n"
},
"range": {
"start": {
"line": 2,
"character": 4
},
"end": {
"line": 2,
"character": 13
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 32,
"LSPosition": {
"line": 2,
"character": 20
},
"Name": "3",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nconstructor c(): c\n```\n"
},
"range": {
"start": {
"line": 2,
"character": 20
},
"end": {
"line": 2,
"character": 21
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 41,
"LSPosition": {
"line": 3,
"character": 4
},
"Name": "4",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nvar cVal: typeof c\n```\n"
},
"range": {
"start": {
"line": 3,
"character": 4
},
"end": {
"line": 3,
"character": 8
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 48,
"LSPosition": {
"line": 3,
"character": 11
},
"Name": "5",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nclass c\n```\n"
},
"range": {
"start": {
"line": 3,
"character": 11
},
"end": {
"line": 3,
"character": 12
}
},
"canIncreaseVerbosity": true
}
}
]