diff --git a/tsconfig.json b/tsconfig.json index 7fc736e..4055368 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,16 +1,17 @@ { "compilerOptions": { - "module": "commonjs", + "module": "ESNext", "moduleResolution": "node", - "target": "es6", - "lib": ["dom", "dom.iterable", "es2017"], + "target": "ESNext", + "lib": ["dom", "esnext"], "outDir": "dist", "jsx": "react", "allowSyntheticDefaultImports": true, "esModuleInterop": true, "sourceMap": true, "declaration": true, - "strictNullChecks": false + "strictNullChecks": false, + "importHelpers": true }, "include": ["./src/@types", "./src/index.ts"], "exclude": ["node_modules", "dist", "example"]