文件名称:ts_beginner:ts&es6入门,附带一个数独项目
文件大小:69KB
文件格式:ZIP
更新时间:2024-05-18 22:26:02
typescript es6 JavaScript
TypeScript入门 ts 微软Micros开发 js的超集 遵循es6 Angular的开发语言 ts优势 支持 支持类型检查 实现了注解、泛型等特性 ts compiler onlie ts compiler local npm install typescript -g 手动编译 tsc xx.ts (eg: hello.ts -> hello.js) 自动编译 webstorm Configure->TypeScript->Enable->Apply/OK vscode F1/Ctrl+Shift+P -> configure task -> 生成tasks.json tsc --init -> 生成tsconfig.json edit tsconfig.json -> 法一: Ctrl+Shift+B -> 构建&监视 -> 法二: Ctrl+Shift+B -> 直接构建
【文件预览】:
ts_beginner-master
----ts-test()
--------a.ts(120B)
--------function.ts(1KB)
--------object.ts(2KB)
--------type.ts(4KB)
--------Interface.ts(3KB)
--------paramType.ts(962B)
--------b.ts(121B)
----readme.md(1KB)
----464752.png(35KB)
----hello()
--------js()
--------tsconfig.json(1KB)
--------hello.ts(129B)
----.gitignore(163B)
----es6-test()
--------package.json(589B)
--------gulpfile.js(2KB)
--------index.html(259B)
--------app()