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

40 lines
893 B
Plaintext

// === QuickInfo ===
=== /quickInfoCircularInstantiationExpression.ts ===
// declare function foo<T>(t: T): typeof foo<T>;
// foo("");
// ^^^
// | ----------------------------------------------------------------------
// | ```typescript
// | function foo<string>(t: string): (t: string) => ...
// | ```
// |
// | ----------------------------------------------------------------------
[
{
"marker": {
"Position": 46,
"LSPosition": {
"line": 1,
"character": 0
},
"Name": "",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nfunction foo<string>(t: string): (t: string) => ...\n```\n"
},
"range": {
"start": {
"line": 1,
"character": 0
},
"end": {
"line": 1,
"character": 3
}
}
}
}
]