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

92 lines
2.1 KiB
Plaintext

// === QuickInfo ===
=== /quickinfoVerbosityAbstractClass.ts ===
//
// declare abstract class Shape {
// ^^^^^
// | ----------------------------------------------------------------------
// | ```typescript
// | abstract class Shape {
// | abstract area(): number;
// | abstract perimeter(): number;
// | toString(): string;
// | }
// | ```
// |
// | (verbosity level: 1)
// | ----------------------------------------------------------------------
// ^^^^^
// | ----------------------------------------------------------------------
// | ```typescript
// | abstract class Shape
// | ```
// |
// | (verbosity level: 0)
// | ----------------------------------------------------------------------
// abstract area(): number;
// abstract perimeter(): number;
// toString(): string;
// }
//
[
{
"marker": {
"Position": 29,
"LSPosition": {
"line": 1,
"character": 28
},
"Name": "1",
"Data": {}
},
"item": {
"hover": {
"contents": {
"kind": "markdown",
"value": "```typescript\nabstract class Shape\n```\n"
},
"range": {
"start": {
"line": 1,
"character": 23
},
"end": {
"line": 1,
"character": 28
}
},
"canIncreaseVerbosity": true
},
"verbosityLevel": 0
}
},
{
"marker": {
"Position": 29,
"LSPosition": {
"line": 1,
"character": 28
},
"Name": "1",
"Data": {}
},
"item": {
"hover": {
"contents": {
"kind": "markdown",
"value": "```typescript\nabstract class Shape {\n abstract area(): number;\n abstract perimeter(): number;\n toString(): string;\n}\n```\n"
},
"range": {
"start": {
"line": 1,
"character": 23
},
"end": {
"line": 1,
"character": 28
}
}
},
"verbosityLevel": 1
}
}
]