TypeScript 2.1+ tsconfig extends
问题 Currently, I am trying the new extends feature in the tsconfig.json that allows developers to have a base tsconfig.json, that other modules can extend / modify. It is working, although not as expected. Somehow, the only way to get this working is to specifiy compileroptions.lib in both parent and child configs. parent.tsconfig.json { "compilerOptions": { "target": "es5", "module": "commonjs", "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, "sourceMap