diff --git a/code/addons/links/package.json b/code/addons/links/package.json index 45d083b1e684..2f4d07769128 100644 --- a/code/addons/links/package.json +++ b/code/addons/links/package.json @@ -40,7 +40,7 @@ "./react": { "require": "./dist/react/index.js", "import": "./dist/react/index.mjs", - "types": "./dist/react.d.ts" + "types": "./dist/react/index.d.ts" }, "./register": { "require": "./dist/manager.js", diff --git a/code/addons/outline/package.json b/code/addons/outline/package.json index ca64da59d950..eaec64e91f62 100644 --- a/code/addons/outline/package.json +++ b/code/addons/outline/package.json @@ -41,7 +41,7 @@ "./preview": { "require": "./dist/preset/preview.js", "import": "./dist/preset/preview.mjs", - "types": "./dist/preview.d.ts" + "types": "./dist/preset/preview.d.ts" }, "./register": { "require": "./dist/manager.js",