摘要: 类型别名 给类型起个新名字(常用于联合类型) type Name = string type NameResolver = () => string type NameOrResolver = Name | NameResolver function getName (n: NameOrResolv 阅读全文
posted @ 2021-04-01 15:36 ken丶123 阅读(83) 评论(0) 推荐(0) 编辑