mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 21:53:42 -06:00
Fix unused baseline failure on main (#55379)
This commit is contained in:
parent
05cb53ec0b
commit
5725506c6f
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user