TypeScript/tests/cases/compiler/untypedArgumentInLambdaExpression.ts

6 lines
106 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
declare function f(fn: (a: string) => string);
f((input): string => {
return "." + input;
});