Skip to content

Commit 1eb924f

Browse files
Adding baseline that was missed from previous merge.
1 parent 325cdef commit 1eb924f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/baselines/reference/functionTypesLackingReturnTypes.errors.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
1+
tests/cases/compiler/functionTypesLackingReturnTypes.ts(3,17): error TS1005: '=>' expected.
2+
tests/cases/compiler/functionTypesLackingReturnTypes.ts(7,15): error TS1005: '=>' expected.
3+
4+
15
==== tests/cases/compiler/functionTypesLackingReturnTypes.ts (2 errors) ====
26

37
// Error (no '=>')
48
function f(x: ()) {
59
~
6-
!!! '=>' expected.
10+
!!! error TS1005: '=>' expected.
711
}
812

913
// Error (no '=>')
1014
var g: (param);
1115
~
12-
!!! '=>' expected.
16+
!!! error TS1005: '=>' expected.
1317

1418
// Okay
1519
var h: { () }

0 commit comments

Comments
 (0)