[Typescript] Configuration Inheritance with Extends

tsconfig-base.json:

{
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "lib": ["dom", "es6"],
    "outDir": "dist",
    "noImplicitAny": false
  }
}

 

src/tsconfig.json:

{
  "extends": "../tsconfig-base",
  "compilerOptions": {
    "noImplicitAny": true
  }
}

 

posted @ 2020-10-05 03:03  Zhentiw  阅读(93)  评论(0编辑  收藏  举报