随笔分类 -  TypeScript基础

03 Typescript 开发工具 Vscode 自动编译.ts 文件
摘要:创建 tsconfig.json 文件 tsc --init 生成配置文件 老版本 vscode 点击: 任务->运行任务-> tsc:监视-tsconfig.json ; 最新版本 vscode 点击: 终端->运行任务->typescript->tsc:监视-tsconfig.json 阅读全文
posted @ 2020-11-24 20:50 CorgiSYJ 阅读(117) 评论(0) 推荐(0)
02 Typescript 安装 编译
摘要:在使用 npm 命令之前电脑必须得安装 nodejs 如果电脑上面没有安装过 cnpm,请先安装 cnpm npm install -g cnpm --registry=https://registry.npm.taobao.org 如果电脑上面没有安装过 yarn 请先安装 yarn npm in 阅读全文
posted @ 2020-11-24 20:46 CorgiSYJ 阅读(61) 评论(0) 推荐(0)
01 Typescript 介绍
摘要: 阅读全文
posted @ 2020-11-24 20:42 CorgiSYJ 阅读(53) 评论(0) 推荐(0)