array of any type argument in typescript code example Example: typescript generic type function identity<T>(arg: T): T { return arg; }Try