0
3
1230
1
一、Typescript常用的数据类型 布尔类型(boolean)、数字类型(number)、字符串类型(string)、数组类型(array)...
1、箭头函数是匿名函数,不能作为构造函数,不能使用new。 leta=()=>{console.log(111)} a() letfn=newa...
1、在终端打开项目 ts 目录 2、使用 tsc -- init 生成 tsconfig.json 配置文件 3、找到outDir 配置 生成 ...