普通函数 function foo<T>(x: T): T { return x; } 箭头函数 const foo = <T,>(x: T): T => x; const foo: <T>(x: T) => T = x => x; 相关文章: