{
  "compilerOptions": {
    "baseUrl": "./",
    "paths": {
      "@/*": ["src/*"],
      "@common/*": ["src/common/*"]
    },
    "module": "es6", // "esnext",
    "target": "es6",
    // "lib": ["es6", "dom"], // 要包含在编译中的依赖库文件列表
    "jsx": "react", // 在.tsx文件中支持JSX
    "allowJs": true, // 允许编译javascript文件
    "resolveJsonModule": true, // 模块导入json
    "moduleResolution": "node", // 模块解析查找路径的规则
    "rootDir": "./src", // rootDirs可以指定一个路径列表，在构建时编译器会将这个路径列表中的路径的内容都放到一个文件夹中
    "outDir": "./dist/esm",
    // "noEmit": true, // 不输出(不编译代码，只执行类型检查)
    "sourceMap": true, // 生成相应的.map文件
    "declaration": true, // 生成相应的.d.ts文件
    "declarationDir": "./dist/types",
    // "noUnusedLocals": true, // 报告未使用的本地变量的错误
    // "noUnusedParameters": true, // 报告未使用参数的错误
    // "experimentalDecorators": true, // 启用对ES装饰器的实验性支持
    // "incremental": true, // 通过从以前的编译中读取/写入信息到磁盘上的文件来启用增量编译
    "noFallthroughCasesInSwitch": true,
    "forceConsistentCasingInFileNames": false,
    "noImplicitReturns": true,
    "noImplicitThis": false, // 当true this表达式的值为 any类型的时候，生成一个错误
    "noImplicitAny": true,
    "allowSyntheticDefaultImports": true // 允许引入没有默认导出的模块
    // "importHelpers": true,
    // "strictNullChecks": true,
  },
  // "references": [{ "path": "./src" }],
  "include": ["src/**/*"],
  "exclude": ["node_modules", "dist", "build", "scripts", "webpack", "jest"]
}
