{
  "compilerOptions": {
    "target": "ES2020",
    "module": "ES2020",
    "outDir": "./dist",
    "rootDir": "./src",
    "esModuleInterop": true,
    "allowJs": true,
    "checkJs": false,
    "declaration": true,
    "moduleResolution": "node",
    "isolatedModules": true,
    "removeComments": true, 
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules", "dev", "dist"],
}

// {
//   "compilerOptions": {
//     "target": "ES2020", //ES2015 (或 ES6); ES2020, ESNext: 最新的 ECMAScript 特性
//     "module": "ES2020", //CommonJS; ES6 ESNext ES2020;System: 用于 SystemJS 加载器;AMD: 适用于基于浏览器的异步模块
//     "outDir": "./dist",
//     "rootDir": "./src",
//     // "strict": true, //禁止隐式 any this 类型,null 和 undefined 检查,帮助捕获潜在的类型错误
//     "esModuleInterop": true, //允许将 CommonJS 模块与 ES6 模块的导入语法互操作
//     "allowJs": true, //允许编译 JavaScript 文件
//     "checkJs": false, //是否检查 JavaScript 文件的类型
//     "declaration": true, //生成相应的 .d.ts 文件
//     // "sourceMap": true,  //.map浏览器调试时，能从编译后的 js 映射回 ts 源代码
//     "moduleResolution": "node", //指定模块解析策略。node 模式查找 node_modules 目录中的模块
//     "isolatedModules": true, //每个文件都被视为独立模块，不依赖于其他模块
//     "removeComments": true, //编译时删除所有注释
//   },
//   "include": ["src/**/*"],
//   "exclude": ["node_modules", "lib", "dist"]
// }
