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

47 lines
877 B
Plaintext

// === QuickInfo ===
=== /a.js ===
// class C {
// constructor() {
// this.prop = "";
// }
// declare prop: string;
// method() {
// this.prop.foo
// ^^^
// | ----------------------------------------------------------------------
// | ```typescript
// | any
// | ```
// |
// | ----------------------------------------------------------------------
// }
// }
[
{
"marker": {
"Position": 122,
"LSPosition": {
"line": 6,
"character": 21
},
"Name": "",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nany\n```\n"
},
"range": {
"start": {
"line": 6,
"character": 18
},
"end": {
"line": 6,
"character": 21
}
}
}
}
]