TS 编译器的配置文件
{/* 编译器的选项 */"compilerOptions": {/* 被编译成的 ES 版本 *//* esnext 表示最新版本 */"target": "esnext",/* 模块化规范的版本 */"module": "esnext","strict": true,"jsx": "preserve","importHelpers": true,"moduleResolution": "node","experimentalDecorators": true,"skipLibCheck": true,"esModuleInterop": true,"allowSyntheticDefaultImports": true,"sourceMap": true,"baseUrl": ".","types": ["webpack-env"],"paths": {"@/*": ["src/*"]},/* 项目需要用到的库 */"lib": ["esnext","dom","dom.iterable","scripthost"]},/* 需要编译的文件 */"include": ["src/**/*.ts","src/**/*.tsx","src/**/*.vue","tests/**/*.ts","tests/**/*.tsx"],/* 不需要编译的文件 */"exclude": ["node_modules"]}
