TypeScript: Generic on an Arrow FunctionHow to specify a generic on an arrow function in TypeScripttypescripttypinggenerics