{
  "compilerOptions": {
    /** type checking */
    "strict": true,
    // 默认false,是否检测定义了但是没使用的变量
    "noUnusedLocals": true,
    // 用于检查是否有在函数体中没有使用的参数
    "noUnusedParameters": true,
    "allowUnreachableCode": false,
    "allowUnusedLabels": false,
    "noFallthroughCasesInSwitch": true,
    "noImplicitOverride": false,
    "noImplicitReturns": true,
    "noImplicitAny": false,
    "noPropertyAccessFromIndexSignature": true,
    "noUncheckedIndexedAccess": true,
    /** module */
    "baseUrl": "./",
    "module": "commonjs",
    // default: module === AMD or UMD or System or ES6, then Classic otherwise Node
    "moduleResolution": "Node",
    "target": "es5",
    "lib": ["ESNext", "dom"],
    /** emit */
    "noEmit": true,
    /** Interop Constraints */
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "forceConsistentCasingInFileNames": true,
    // "isolatedModules": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "jsx": "react-jsx",
    "skipLibCheck": false,
    "paths": {
      // 指定模块的路径，和baseUrl有关联，和webpack中resolve.alias配置一样
      "@/*": ["./src/*"]
    }
  },
  "include": [
    "./src",
    "./global.d.ts",
    "./types",
    "./babel.config.js",
    "./eslint.config.js",
    "./lint-staged.config.js",
    "./stylelint.config.js",
    "./vant.config.js",
    "./_antm.config.js",
    "./antm.config.js"
  ],
  "compileOnSave": false
}
