随笔分类 - TypeScript基础
            
    03 Typescript 开发工具 Vscode 自动编译.ts 文件
    
            
            
        
摘要:创建 tsconfig.json 文件 tsc --init 生成配置文件 老版本 vscode 点击: 任务->运行任务-> tsc:监视-tsconfig.json ; 最新版本 vscode 点击: 终端->运行任务->typescript->tsc:监视-tsconfig.json
        阅读全文
            
        
            
    02 Typescript 安装 编译
    
            
            
        
    
摘要:在使用 npm 命令之前电脑必须得安装 nodejs 如果电脑上面没有安装过 cnpm,请先安装 cnpm npm install -g cnpm --registry=https://registry.npm.taobao.org 如果电脑上面没有安装过 yarn 请先安装 yarn npm in
        阅读全文
            
        
                    
                
浙公网安备 33010602011771号