摘要:
Union type: means "one of" those types Intersection type: means "combination" of those types Intersection types type typeAB = typeA & typeB; interface 阅读全文
posted @ 2022-07-19 16:51
Zhentiw
阅读(45)
评论(0)
推荐(0)
摘要:
Res1: https://www.typescript-training.com/course/making-typescript-stick/08-type-challenges/#returnoff Res2: https://learntypescript.dev/09/l2-conditi 阅读全文
posted @ 2022-07-19 16:24
Zhentiw
阅读(203)
评论(0)
推荐(0)
摘要:
`any` type, you can assign any value for any type. For `unkown`, you can also assign any value to unkwon: But you cannot assign unkwon variable to ano 阅读全文
posted @ 2022-07-19 02:27
Zhentiw
阅读(33)
评论(0)
推荐(0)

浙公网安备 33010602011771号