• tsc —init 生成配置文件
    • outDir 编译后的目录
    • rootDir 编译源文件目录
    • sourceMap 开启源代码映射,调试时候可以调试ts源代码