passer le type générique à la fonction AROW TypeScript
const foo = <T>(x: T) => x; // ERROR : unclosed `T` tag
Courageous Crab
const foo = <T>(x: T) => x; // ERROR : unclosed `T` tag