mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 21:53:42 -06:00
Adding baseline that was missed from previous merge.
This commit is contained in:
parent
325cdeff65
commit
1eb924f2d6
@ -1,15 +1,19 @@
|
||||
tests/cases/compiler/functionTypesLackingReturnTypes.ts(3,17): error TS1005: '=>' expected.
|
||||
tests/cases/compiler/functionTypesLackingReturnTypes.ts(7,15): error TS1005: '=>' expected.
|
||||
|
||||
|
||||
==== tests/cases/compiler/functionTypesLackingReturnTypes.ts (2 errors) ====
|
||||
|
||||
// Error (no '=>')
|
||||
function f(x: ()) {
|
||||
~
|
||||
!!! '=>' expected.
|
||||
!!! error TS1005: '=>' expected.
|
||||
}
|
||||
|
||||
// Error (no '=>')
|
||||
var g: (param);
|
||||
~
|
||||
!!! '=>' expected.
|
||||
!!! error TS1005: '=>' expected.
|
||||
|
||||
// Okay
|
||||
var h: { () }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user