The following fails to compile even though T is constrained to an array type: ``` typescript function attach<T extends any[]>(cb: (...args: T) => void): void { } ``` ``` A rest parameter must be of an array type. (parameter) args: T extends any[] ```