{
  "compilerOptions": {
    "outDir": "./types",
    //"outFile": "./types/index.js",
    // "module": "amd",
    "target": "es5",
    "module": "esnext",
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "jsx": "preserve",
    "importHelpers": true,
    "moduleResolution": "node",
    "experimentalDecorators": true,
    
    "declaration": true, // 是否生成声明文件
    "declarationDir": "./types", // 声明文件打包的位置
    // "declarationMap": true, // 是否生成声明文件map文件（便于调试）
    // 移除注释
    "removeComments": false,
    // 允许编译javascript文件
    // "allowJs": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "sourceMap": true,
    "baseUrl": ".",
    // "types": [
		// 	"webpack-env",
		// 	"node",
		// 	"jest"
		// ],
    "typeRoots": [
      // add path to @types
      "node_modules/@types"
    ],
    "strictFunctionTypes": false,
    "strictNullChecks": false,
    "noImplicitAny": false,
    "skipLibCheck": true,
    "downlevelIteration": true,
    "resolveJsonModule": true,
    
    "paths": {
      // "@/*": [
      //   "src/*"
      // ],
      "tslib": ["node_modules/tslib/tslib.d.ts"],
      // "gs-longan": [
			// 	"../../packages/longan/src",
			// 	"node_modules",
			// 	"./types/longan/src"
			// ], // 如果要使用index.tsx的，需要配置这个
			// "gs-longan/*": [
			// 	"../../packages/longan/src/*",
			// 	"node_modules",
			// 	"./types/longan/src"

			// ],
    },
    "lib": [
      "esnext",
      "dom",
      "dom.iterable",
      "scripthost",
      "es2015",
      "es2015.iterable",
      "es2015.collection",
      "es2015.symbol.wellknown",
      "es2015.promise",
      "es2015.symbol",
      "es2015.generator"
    ],
  
  },
  "include": [
    "src/*.ts",
    "src/*.tsx",
    "src/*.vue",
    "src/**/*.ts",
    "src/**/*.tsx",
    "src/**/*.vue",
    // "packages/*.ts",
    // "packages/*.tsx",
    // "packages/*.vue",
    // "packages/**/*.ts",
    // "packages/**/*.tsx",
    // "packages/**/*.vue",
    "src/workers/test.worker.ts",
    "src/shims-scss.d.ts"
 ],
  "exclude": [
    "node_modules",
    "output",
    "public/redist/*.js",
    "public/redist/*.ts"
  ],
  "types": [
    "lodash",
    // "src",
    // "src/shims-scss.d.ts",
    // "src/shims-tsx.d.ts",
    // "src/shims-vue.d.ts",
    // "packages",
    // "packages/bimAir/src/",
    // "packages/bimAir/src/shims-scss.d.ts",
    // "packages/bimAir/src/shims-tsx.d.ts",
    // "packages/bimAir/src/shims-vue.d.ts"
  ]
  //自动识别dTs文件夹里的.d.ts文件
  //  "strictFunctionTypes": false
}
