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

47 lines
951 B
Plaintext

// === QuickInfo ===
=== /main.ts ===
//
// class Base {}
//
// declare const BaseFactory: new() => Base & { c: string };
//
// class Derived extends BaseFactory {
// static idField = "id" as const;
// ^^^^^^^
// | ----------------------------------------------------------------------
// | ```typescript
// | (property) Derived.idField: "id"
// | ```
// |
// | ----------------------------------------------------------------------
// }
//
[
{
"marker": {
"Position": 120,
"LSPosition": {
"line": 6,
"character": 9
},
"Name": "1",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\n(property) Derived.idField: \"id\"\n```\n"
},
"range": {
"start": {
"line": 6,
"character": 9
},
"end": {
"line": 6,
"character": 16
}
}
}
}
]