Files

107 lines
1.6 KiB
Diff

--- old.inlayHintsMultifile1.baseline
+++ new.inlayHintsMultifile1.baseline
@@= skipped -1, +1 lines =@@
async function foo () {
^
{
- "label": ": Promise<Foo>",
+ "label": [
+ {
+ "value": ": "
+ },
+ {
+ "value": "Promise",
+ "location": {},
+ },
+ {
+ "value": "<"
+ },
+ {
+ "value": "Foo",
+ "location": {},
+ },
+ {
+ "value": ">"
+ }
+ ],
"kind": 1,
"paddingLeft": true
}
@@= skipped -8, +26 lines =@@
function bar () { return import('./a') }
^
{
- "label": ": Promise<typeof import(\"/a\")>",
+ "label": [
+ {
+ "value": ": "
+ },
+ {
+ "value": "Promise",
+ "location": {},
+ },
+ {
+ "value": "<"
+ },
+ {
+ "value": "typeof "
+ },
+ {
+ "value": "import("
+ },
+ {
+ "value": "'/a'"
+ },
+ {
+ "value": ")"
+ },
+ {
+ "value": ">"
+ }
+ ],
"kind": 1,
"paddingLeft": true
}
@@= skipped -8, +34 lines =@@
async function main () {
^
{
- "label": ": Promise<void>",
+ "label": [
+ {
+ "value": ": "
+ },
+ {
+ "value": "Promise",
+ "location": {},
+ },
+ {
+ "value": "<"
+ },
+ {
+ "value": "void"
+ },
+ {
+ "value": ">"
+ }
+ ],
"kind": 1,
"paddingLeft": true
}
@@= skipped -8, +25 lines =@@
const a = await foo()
^
{
- "label": ": Foo",
+ "label": [
+ {
+ "value": ": "
+ },
+ {
+ "value": "Foo",
+ "location": {},
+ }
+ ],
"kind": 1,
"paddingLeft": true
}