diff --git a/.changeset/witty-bottles-carry.md b/.changeset/witty-bottles-carry.md new file mode 100644 index 000000000..256eec4c1 --- /dev/null +++ b/.changeset/witty-bottles-carry.md @@ -0,0 +1,5 @@ +--- +"openapi-react-query": patch +--- + +[#2098](https://github.com/openapi-ts/openapi-typescript/pull/2098): Fix CJS type issues by pointing to proper d.ts file diff --git a/packages/openapi-react-query/package.json b/packages/openapi-react-query/package.json index 52edbbdd6..a2454e602 100644 --- a/packages/openapi-react-query/package.json +++ b/packages/openapi-react-query/package.json @@ -18,7 +18,7 @@ "default": "./dist/index.js" }, "require": { - "types": "./dist/index.d.cts", + "types": "./dist/index.d.ts", "default": "./dist/index.cjs" } },