function fun<T>(str: T): Array<T>{ alert(str); let arr: T[]; arr.push(str); return arr; }fun(1); let two: <T>(arg: T) => T = fun; two(2); 查看完整描述