tsconfig.json
{
"compilerOptions": {
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"allowJs": false,
"resolveJsonModule": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"forceConsistentCasingInFileNames": true,
"importHelpers": false,
"jsx": "react",
"jsxFactory": "createElement",
"lib": ["DOM", "ESNext"],
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Node",
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"strict": true,
"alwaysStrict": true,
"pretty": true,
"preserveConstEnums": true,
"removeComments": false,
"sourceMap": true,
"inlineSourceMap": false,
"inlineSources": false,
"declaration": true,
"declarationDir": "./dist",
"declarationMap": true,
"outDir": "./dist"
},
"include": ["src/index.tsx"],
"exclude": ["lib", "node_modules", "src/*.spec.ts"]
}