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

607 lines
13 KiB
Plaintext

// === QuickInfo ===
=== /quickInfoDisplayPartsModules.ts ===
// namespace m {
// ^
// | ----------------------------------------------------------------------
// | ```typescript
// | namespace m
// | ```
// |
// | ----------------------------------------------------------------------
// var namespaceElemWithoutExport = 10;
// ^^^^^^^^^^^^^^^^^^^^^^^^^^
// | ----------------------------------------------------------------------
// | ```typescript
// | var namespaceElemWithoutExport: number
// | ```
// |
// | ----------------------------------------------------------------------
// export var namespaceElemWithExport = 10;
// ^^^^^^^^^^^^^^^^^^^^^^^
// | ----------------------------------------------------------------------
// | ```typescript
// | var namespaceElemWithExport: number
// | ```
// |
// | ----------------------------------------------------------------------
// }
// var a = m;
// ^
// | ----------------------------------------------------------------------
// | ```typescript
// | var a: typeof m
// | ```
// |
// | ----------------------------------------------------------------------
// ^
// | ----------------------------------------------------------------------
// | ```typescript
// | namespace m
// | ```
// |
// | ----------------------------------------------------------------------
// var b: typeof m;
// ^
// | ----------------------------------------------------------------------
// | ```typescript
// | var b: typeof m
// | ```
// |
// | ----------------------------------------------------------------------
// ^
// | ----------------------------------------------------------------------
// | ```typescript
// | namespace m
// | ```
// |
// | ----------------------------------------------------------------------
// namespace m1.m2 {
// ^^
// | ----------------------------------------------------------------------
// | ```typescript
// | namespace m1
// | ```
// |
// | ----------------------------------------------------------------------
// ^^
// | ----------------------------------------------------------------------
// | ```typescript
// | namespace m2
// | ```
// |
// | ----------------------------------------------------------------------
// var namespaceElemWithoutExport = 10;
// ^^^^^^^^^^^^^^^^^^^^^^^^^^
// | ----------------------------------------------------------------------
// | ```typescript
// | var namespaceElemWithoutExport: number
// | ```
// |
// | ----------------------------------------------------------------------
// export var namespaceElemWithExport = 10;
// ^^^^^^^^^^^^^^^^^^^^^^^
// | ----------------------------------------------------------------------
// | ```typescript
// | var namespaceElemWithExport: number
// | ```
// |
// | ----------------------------------------------------------------------
// }
// var x = m1.m2;
// ^
// | ----------------------------------------------------------------------
// | ```typescript
// | var x: typeof m1.m2
// | ```
// |
// | ----------------------------------------------------------------------
// ^^
// | ----------------------------------------------------------------------
// | ```typescript
// | namespace m1
// | ```
// |
// | ----------------------------------------------------------------------
// ^^
// | ----------------------------------------------------------------------
// | ```typescript
// | namespace m1.m2
// | ```
// |
// | ----------------------------------------------------------------------
// var y: typeof m1.m2;
// ^
// | ----------------------------------------------------------------------
// | ```typescript
// | var y: typeof m1.m2
// | ```
// |
// | ----------------------------------------------------------------------
// ^^
// | ----------------------------------------------------------------------
// | ```typescript
// | namespace m1
// | ```
// |
// | ----------------------------------------------------------------------
// ^^
// | ----------------------------------------------------------------------
// | ```typescript
// | namespace m1.m2
// | ```
// |
// | ----------------------------------------------------------------------
[
{
"marker": {
"Position": 10,
"LSPosition": {
"line": 0,
"character": 10
},
"Name": "1",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nnamespace m\n```\n"
},
"range": {
"start": {
"line": 0,
"character": 10
},
"end": {
"line": 0,
"character": 11
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 22,
"LSPosition": {
"line": 1,
"character": 8
},
"Name": "2",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nvar namespaceElemWithoutExport: number\n```\n"
},
"range": {
"start": {
"line": 1,
"character": 8
},
"end": {
"line": 1,
"character": 34
}
}
}
},
{
"marker": {
"Position": 70,
"LSPosition": {
"line": 2,
"character": 15
},
"Name": "3",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nvar namespaceElemWithExport: number\n```\n"
},
"range": {
"start": {
"line": 2,
"character": 15
},
"end": {
"line": 2,
"character": 38
}
}
}
},
{
"marker": {
"Position": 106,
"LSPosition": {
"line": 4,
"character": 4
},
"Name": "4",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nvar a: typeof m\n```\n"
},
"range": {
"start": {
"line": 4,
"character": 4
},
"end": {
"line": 4,
"character": 5
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 110,
"LSPosition": {
"line": 4,
"character": 8
},
"Name": "5",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nnamespace m\n```\n"
},
"range": {
"start": {
"line": 4,
"character": 8
},
"end": {
"line": 4,
"character": 9
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 117,
"LSPosition": {
"line": 5,
"character": 4
},
"Name": "6",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nvar b: typeof m\n```\n"
},
"range": {
"start": {
"line": 5,
"character": 4
},
"end": {
"line": 5,
"character": 5
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 127,
"LSPosition": {
"line": 5,
"character": 14
},
"Name": "7",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nnamespace m\n```\n"
},
"range": {
"start": {
"line": 5,
"character": 14
},
"end": {
"line": 5,
"character": 15
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 140,
"LSPosition": {
"line": 6,
"character": 10
},
"Name": "8",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nnamespace m1\n```\n"
},
"range": {
"start": {
"line": 6,
"character": 10
},
"end": {
"line": 6,
"character": 12
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 143,
"LSPosition": {
"line": 6,
"character": 13
},
"Name": "9",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nnamespace m2\n```\n"
},
"range": {
"start": {
"line": 6,
"character": 13
},
"end": {
"line": 6,
"character": 15
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 156,
"LSPosition": {
"line": 7,
"character": 8
},
"Name": "10",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nvar namespaceElemWithoutExport: number\n```\n"
},
"range": {
"start": {
"line": 7,
"character": 8
},
"end": {
"line": 7,
"character": 34
}
}
}
},
{
"marker": {
"Position": 204,
"LSPosition": {
"line": 8,
"character": 15
},
"Name": "11",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nvar namespaceElemWithExport: number\n```\n"
},
"range": {
"start": {
"line": 8,
"character": 15
},
"end": {
"line": 8,
"character": 38
}
}
}
},
{
"marker": {
"Position": 240,
"LSPosition": {
"line": 10,
"character": 4
},
"Name": "12",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nvar x: typeof m1.m2\n```\n"
},
"range": {
"start": {
"line": 10,
"character": 4
},
"end": {
"line": 10,
"character": 5
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 244,
"LSPosition": {
"line": 10,
"character": 8
},
"Name": "13",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nnamespace m1\n```\n"
},
"range": {
"start": {
"line": 10,
"character": 8
},
"end": {
"line": 10,
"character": 10
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 247,
"LSPosition": {
"line": 10,
"character": 11
},
"Name": "14",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nnamespace m1.m2\n```\n"
},
"range": {
"start": {
"line": 10,
"character": 11
},
"end": {
"line": 10,
"character": 13
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 255,
"LSPosition": {
"line": 11,
"character": 4
},
"Name": "15",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nvar y: typeof m1.m2\n```\n"
},
"range": {
"start": {
"line": 11,
"character": 4
},
"end": {
"line": 11,
"character": 5
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 265,
"LSPosition": {
"line": 11,
"character": 14
},
"Name": "16",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nnamespace m1\n```\n"
},
"range": {
"start": {
"line": 11,
"character": 14
},
"end": {
"line": 11,
"character": 16
}
},
"canIncreaseVerbosity": true
}
},
{
"marker": {
"Position": 268,
"LSPosition": {
"line": 11,
"character": 17
},
"Name": "17",
"Data": {}
},
"item": {
"contents": {
"kind": "markdown",
"value": "```typescript\nnamespace m1.m2\n```\n"
},
"range": {
"start": {
"line": 11,
"character": 17
},
"end": {
"line": 11,
"character": 19
}
},
"canIncreaseVerbosity": true
}
}
]