通用函数语法有什么区别:
type Identity<T> = (t: T) => T
和
type Identity = <T>(t: T) => T
?
generics types typescript
generics ×1
types ×1
typescript ×1