{
  "compilerOptions": {
    "rootDir": ".",
    "outDir": "dist",
    "target": "es2016",
    "useDefineForClassFields": true,
    "declaration": true,
    "declarationDir": "./dist-types/",
    "module": "ESNext",
    "lib": [
      "ESNext",
      "DOM"
    ],
    "jsx": "react-jsx",
    "moduleResolution": "bundler",
    "removeComments": false,
    "skipLibCheck": true,
    "strict": true,
    "sourceMap": true,
    "resolveJsonModule": true,
    "esModuleInterop": true,
    // "noEmit": true, // 开启后无法编译~
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "noImplicitReturns": true,
    "forceConsistentCasingInFileNames": true,
    "allowSyntheticDefaultImports": true,
    "ignoreDeprecations": "5.0",
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "noImplicitAny": false,
    "paths": {} // 目标项目有可能为webapck项目,避免目标项目配置复杂，这里不使用了~
  },
  "include": [
    "./src/index.ts",
    "typings/global.d.ts",
    "types/*",
    "grpc-web/**/*.d.ts",
  ],
  "exclude": [
    "**/*.test.ts",
    "test/**",
    ".history/**"
  ]
}