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]>
40 lines
893 B
Plaintext
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
] |