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]>
47 lines
951 B
Plaintext
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
] |