Skip to content

lhp96/TypeScript-learn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript-learn

My TypeScript Learning Records

new TS Project

yarn init --yes
yarn add typescript --dev

# 编译 某个文件
yarn tsc xx.ts

配置

# 生成配置文件
yarn tsc --init
# 编译整个项目
yarn tsc 

# tsconfig.json
"target": "es2016",  
"module": "commonjs",
"rootDir": "src",     
"sourceMap": true, 
"outDir": "dist", 

About

My TypeScript Learning Records

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published