diff --git a/packages/data/CHANGELOG.md b/packages/data/CHANGELOG.md index fb2ae70058da6..4dfdf6aa921a3 100644 --- a/packages/data/CHANGELOG.md +++ b/packages/data/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Breaking Changes + +– Add TypeScript types to the built package (via "types": "build-types" in the package.json) + ## 6.15.0 (2022-08-10) ## 6.14.0 (2022-07-27) diff --git a/packages/data/package.json b/packages/data/package.json index 77a7926dabee7..2d1b9b633e345 100644 --- a/packages/data/package.json +++ b/packages/data/package.json @@ -25,6 +25,7 @@ "main": "build/index.js", "module": "build-module/index.js", "react-native": "src/index", + "types": "build-types", "sideEffects": false, "dependencies": { "@babel/runtime": "^7.16.0", diff --git a/packages/data/tsconfig.json b/packages/data/tsconfig.json index a1fa8ec23da4b..c333776d38da6 100644 --- a/packages/data/tsconfig.json +++ b/packages/data/tsconfig.json @@ -15,10 +15,6 @@ { "path": "../redux-routine" } ], "include": [ - "src/redux-store/metadata/**/*", - "src/promise-middleware.js", - "src/utils", - "src/*.ts", - "src/**/*.js" + "src/**/*" ] }