摘要: 声明变量要同时声明类型,例如: let foo: string = 'hello!' 类型有: { 数字: number, //值可为number,null, undefined 字符串: string, //值可为string,null, undefined 布尔值:boolean,//值可为bo 阅读全文
posted @ 2019-01-18 19:05 一丢丢的小小 阅读(425) 评论(0) 推荐(0)