{ "compilerOptions": { "lib": [ //"es2017", "ESNext", ], "rootDir": "Source", "sourceMap": true, "watch": true, "module": "commonjs", "moduleResolution": "node", "target": "es2015", //"target": "ESNext", //"allowJs": true, "jsx": "react", "noImplicitAny": false, "experimentalDecorators": true, // keep these disabled, so that we always import modules "the right way", ie. without interop-helper (needed, since helper is only actually added by user projects, and some might not be configured to do so) //"allowSyntheticDefaultImports": true, // doesn't modify output, *or* own import code (it's just for type-checking) //"esModuleInterop": true, // doesn't modify output, only code for the stuff we import "alwaysStrict": true, // alternative: "@babel/plugin-transform-strict-mode"; went with this since doesn't require another npm package "outDir": "Dist", "declaration": true, "declarationDir": "Dist" }, "files": ["Source/index.ts"], "include": [ "Typings/**/*.d.ts", "Source/**/*.ts", "Source/**/*.tsx" ], "exclude": [ "Dist", "node_modules" ], "compileOnSave": true }