mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-09 16:39:46 -05:00
Adding baseline that was missed from previous merge.
This commit is contained in:
@@ -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: { () }
|
||||
|
||||
Reference in New Issue
Block a user