6 lines
106 B
TypeScript
6 lines
106 B
TypeScript
|
declare function f(fn: (a: string) => string);
|
||
|
|
||
|
f((input): string => {
|
||
|
return "." + input;
|
||
|
});
|
||
|
|