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

6 lines
106 B
TypeScript

declare function f(fn: (a: string) => string);
f((input): string => {
return "." + input;
});