2 lines
140 B
TypeScript
2 lines
140 B
TypeScript
var n1: () => boolean = function () { }; // expect an error here
|
|
var n2: () => boolean = function ():boolean { }; // expect an error here
|