Connect, collaborate, and grow with a community of TypeScript developers
const identity = <T>(input: T) => input; const mapArray = <T, U>(arr: T[], fn: (item: T) => U) => arr.map(fn);