From 02cfcea44fad79b1719028a1cce34ec7e934f0d6 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Mon, 14 Aug 2023 15:01:33 -0700 Subject: [PATCH] Fix unused baseline failure on main --- .../inlayHintsInteractiveReturnType.baseline | 205 ------------------ 1 file changed, 205 deletions(-) delete mode 100644 tests/baselines/reference/inlayHintsInteractiveReturnType.baseline diff --git a/tests/baselines/reference/inlayHintsInteractiveReturnType.baseline b/tests/baselines/reference/inlayHintsInteractiveReturnType.baseline deleted file mode 100644 index 24d374144aece..0000000000000 --- a/tests/baselines/reference/inlayHintsInteractiveReturnType.baseline +++ /dev/null @@ -1,205 +0,0 @@ -function numberLiteral() { return 1; } - ^ -{ - "text": "", - "displayParts": [ - { - "text": ": " - }, - { - "text": "number" - } - ], - "position": 52, - "kind": "Type", - "whitespaceBefore": true -} - -function stringLiteral() { return "foo"; } - ^ -{ - "text": "", - "displayParts": [ - { - "text": ": " - }, - { - "text": "string" - } - ], - "position": 91, - "kind": "Type", - "whitespaceBefore": true -} - -function nothing() { } - ^ -{ - "text": "", - "displayParts": [ - { - "text": ": " - }, - { - "text": "void" - } - ], - "position": 128, - "kind": "Type", - "whitespaceBefore": true -} - -function closure() { return () => 1; } - ^ -{ - "text": "", - "displayParts": [ - { - "text": ": " - }, - { - "text": "(" - }, - { - "text": ")" - }, - { - "text": " => " - }, - { - "text": "number" - } - ], - "position": 151, - "kind": "Type", - "whitespaceBefore": true -} - -function closure() { return () => 1; } - ^ -{ - "text": "", - "displayParts": [ - { - "text": ": " - }, - { - "text": "number" - } - ], - "position": 163, - "kind": "Type", - "whitespaceBefore": true -} - -function fooClosure() { return (foo: Foo) => foo.bar; } - ^ -{ - "text": "", - "displayParts": [ - { - "text": ": " - }, - { - "text": "(" - }, - { - "text": ")" - }, - { - "text": " => " - }, - { - "text": "number" - } - ], - "position": 193, - "kind": "Type", - "whitespaceBefore": true -} - -function fooClosure() { return (foo: Foo) => foo.bar; } - ^ -{ - "text": "", - "displayParts": [ - { - "text": ": " - }, - { - "text": "number" - } - ], - "position": 213, - "kind": "Type", - "whitespaceBefore": true -} - -function returnFoo(foo: Foo) { return foo; } - ^ -{ - "text": "", - "displayParts": [ - { - "text": ": " - }, - { - "text": "Foo", - "span": { - "start": 5, - "length": 3 - }, - "file": "/tests/cases/fourslash/inlayHintsInteractiveReturnType.ts" - } - ], - "position": 256, - "kind": "Type", - "whitespaceBefore": true -} - -function returnMaybeFoo(foo: Foo) { if (Math.random()) return foo; } - ^ -{ - "text": "", - "displayParts": [ - { - "text": ": " - }, - { - "text": "Foo", - "span": { - "start": 5, - "length": 3 - }, - "file": "/tests/cases/fourslash/inlayHintsInteractiveReturnType.ts" - } - ], - "position": 306, - "kind": "Type", - "whitespaceBefore": true -} - -function returnFoos(foo: Foo) { return [foo, foo]; } - ^ -{ - "text": "", - "displayParts": [ - { - "text": ": " - }, - { - "text": "Foo", - "span": { - "start": 5, - "length": 3 - }, - "file": "/tests/cases/fourslash/inlayHintsInteractiveReturnType.ts" - }, - { - "text": "[]" - } - ], - "position": 371, - "kind": "Type", - "whitespaceBefore": true -} \ No newline at end of file