diff --git a/package.json b/package.json index 9ce3dc99f..031361c6e 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "repository": "github:reduxjs/react-redux", "bugs": "https://github.com/reduxjs/react-redux/issues", "main": "./lib/index.js", - "types": "./lib/index.d.ts", + "types": "./es/index.d.ts", "unpkg": "dist/react-redux.js", "module": "es/index.js", "files": [ diff --git a/tsconfig.json b/tsconfig.json index e0044ea61..d4a4611a4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,7 @@ "jsx": "react", "declaration": true, "emitDeclarationOnly": true, - "outDir": "./lib", + "outDir": "./es", "forceConsistentCasingInFileNames": true }, "include": ["src/**/*", "types"],