mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
160 lines
2.4 KiB
Plaintext
160 lines
2.4 KiB
Plaintext
// === Inlay Hints ===
|
|
foo(1);
|
|
^
|
|
{
|
|
"position": {
|
|
"line": 1,
|
|
"character": 4
|
|
},
|
|
"label": [
|
|
{
|
|
"value": "v",
|
|
"location": {
|
|
"uri": "file:///inlayHintsInteractiveAnyParameter1.ts",
|
|
"range": {
|
|
"start": {
|
|
"line": 0,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 0,
|
|
"character": 15
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"value": ":"
|
|
}
|
|
],
|
|
"kind": 2,
|
|
"paddingRight": true
|
|
}
|
|
|
|
foo('');
|
|
^
|
|
{
|
|
"position": {
|
|
"line": 2,
|
|
"character": 4
|
|
},
|
|
"label": [
|
|
{
|
|
"value": "v",
|
|
"location": {
|
|
"uri": "file:///inlayHintsInteractiveAnyParameter1.ts",
|
|
"range": {
|
|
"start": {
|
|
"line": 0,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 0,
|
|
"character": 15
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"value": ":"
|
|
}
|
|
],
|
|
"kind": 2,
|
|
"paddingRight": true
|
|
}
|
|
|
|
foo(true);
|
|
^
|
|
{
|
|
"position": {
|
|
"line": 3,
|
|
"character": 4
|
|
},
|
|
"label": [
|
|
{
|
|
"value": "v",
|
|
"location": {
|
|
"uri": "file:///inlayHintsInteractiveAnyParameter1.ts",
|
|
"range": {
|
|
"start": {
|
|
"line": 0,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 0,
|
|
"character": 15
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"value": ":"
|
|
}
|
|
],
|
|
"kind": 2,
|
|
"paddingRight": true
|
|
}
|
|
|
|
foo((1));
|
|
^
|
|
{
|
|
"position": {
|
|
"line": 5,
|
|
"character": 4
|
|
},
|
|
"label": [
|
|
{
|
|
"value": "v",
|
|
"location": {
|
|
"uri": "file:///inlayHintsInteractiveAnyParameter1.ts",
|
|
"range": {
|
|
"start": {
|
|
"line": 0,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 0,
|
|
"character": 15
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"value": ":"
|
|
}
|
|
],
|
|
"kind": 2,
|
|
"paddingRight": true
|
|
}
|
|
|
|
foo(foo(1));
|
|
^
|
|
{
|
|
"position": {
|
|
"line": 6,
|
|
"character": 8
|
|
},
|
|
"label": [
|
|
{
|
|
"value": "v",
|
|
"location": {
|
|
"uri": "file:///inlayHintsInteractiveAnyParameter1.ts",
|
|
"range": {
|
|
"start": {
|
|
"line": 0,
|
|
"character": 14
|
|
},
|
|
"end": {
|
|
"line": 0,
|
|
"character": 15
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"value": ":"
|
|
}
|
|
],
|
|
"kind": 2,
|
|
"paddingRight": true
|
|
} |