Files

55 lines
1.2 KiB
Plaintext

// === QuickInfo ===
=== /quickInfoInheritDoc3.ts ===
// function getBaseClass() {
// return class Base {
// /**
// * Base.prop
// */
// prop: string | undefined;
// }
// }
// class SubClass extends getBaseClass() {
// /**
// * @inheritdoc
// * SubClass.prop
// */
// prop: string | undefined;
// ^^^^
// | ----------------------------------------------------------------------
// | ```typescript
// | (property) SubClass.prop: string | undefined
// | ```
// |
// |
// | *@inheritdoc* — SubClass.prop
// | ----------------------------------------------------------------------
// }
[
{
"marker": {
"Position": 237,
"LSPosition": {
"line": 13,
"character": 4
},
"Name": "1",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\n(property) SubClass.prop: string | undefined\n```\n\n\n*@inheritdoc* — SubClass.prop"
},
"range": {
"start": {
"line": 13,
"character": 4
},
"end": {
"line": 13,
"character": 8
}
}
}
}
]