Files
tsgo/testdata/baselines/reference/fourslash/quickInfo/destructuredIntersectionJSDoc.baseline

48 lines
954 B
Plaintext

// === QuickInfo ===
=== /destructuredIntersectionJSDoc.ts ===
//
// type X = {
// /** Description of a. */
// a: {}
// }
//
// type Y = X & { a: {} }
//
// declare function f({ a }: Y): void
// ^
// | ----------------------------------------------------------------------
// | ```typescript
// | (parameter) a: {}
// | ```
// | Description of a.
// | ----------------------------------------------------------------------
//
[
{
"marker": {
"Position": 99,
"LSPosition": {
"line": 8,
"character": 21
},
"Name": "1",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\n(parameter) a: {}\n```\nDescription of a."
},
"range": {
"start": {
"line": 8,
"character": 21
},
"end": {
"line": 8,
"character": 22
}
}
}
}
]