TypeScript/tests/cases/compiler/functionWithAnyReturnTypeAndNoReturnExpression.ts
2014-07-12 17:30:19 -07:00

4 lines
102 B
TypeScript

// All should be allowed
function f(): any { }
var f2: () => any = () => { };
var f3 = (): any => { };