typescript中的类型别名

关键词type // 类型别名用法 自定义本身类型 type myType = { name: string, age: number, }
相关文章
相关标签/搜索