其他分享
首页 > 其他分享> > [Typescript] Configuration Inheritance with Extends

[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
  }
}

 

标签:Typescript,dist,noImplicitAny,json,base,Extends,compilerOptions,Configuration,ts
来源: https://www.cnblogs.com/Answer1215/p/13769040.html