diff --git a/index.d.ts b/@types/index.d.ts similarity index 100% rename from index.d.ts rename to @types/index.d.ts diff --git a/tsconfig.json b/tsconfig.json index 7bf2474..d8b4810 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,25 +1,26 @@ { "compilerOptions": { - "lib": [ - "dom", - "es2017" - ], + "lib": ["dom", "es2017"], "outDir": "./dist/", "sourceMap": true, "esModuleInterop": true, "noImplicitAny": false, "module": "esnext", - "moduleResolution": "node", "target": "es6", "jsx": "react", - "typeRoots": ["node_modules/@types", "src/typings"], - "types" : ["webpack-env", "node"], - "resolveJsonModule": true + "typeRoots": ["node_modules/@types", "./@types"], + "types": ["webpack-env", "node"], + "resolveJsonModule": true, + "moduleResolution": "Bundler", + "skipLibCheck": true, }, + "types": [ + "@types/*" + ], "exclude": [ "node_modules", "**/*.test.ts", "**/*.test.tsx", "node_modules/@types/jest" - ] -} \ No newline at end of file + ] +}