摘要:
Co-Variance: declare let b: string declare let c: string | number c = b // ✅ // string is a sub-type of string | number // all elements of string appe 阅读全文
posted @ 2022-11-09 17:18
Zhentiw
阅读(38)
评论(0)
推荐(0)
摘要:
So what is a nake type? Example: type UnionToIntersection<T> = (T extends any ? (x: T) => any : never) //... We check Tin a sub-type condition, T exte 阅读全文
posted @ 2022-11-09 02:47
Zhentiw
阅读(23)
评论(0)
推荐(0)

浙公网安备 33010602011771号