function loggingIdentity(arg: T[]): T[] { console.log(arg.length); // Array has a .length, so no more error return arg; }