diff --git a/packages/detect-locale/package.json b/packages/detect-locale/package.json index 7827dacab..91879b66c 100644 --- a/packages/detect-locale/package.json +++ b/packages/detect-locale/package.json @@ -36,8 +36,14 @@ }, "exports": { ".": { - "require": "./dist/index.cjs", - "import": "./dist/index.mjs" + "require": { + "types": "./dist/index.d.ts", + "default": "./dist/index.cjs" + }, + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.mjs" + } }, "./package.json": "./package.json" },