diff --git a/package.json b/package.json index 05c8f2b..2ad4d1e 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,14 @@ "types": "./lib/index.d.ts", "exports": { ".": { - "import": "./lib/esm/index.js", - "require": "./lib/index.js" + "import": { + "types": "./lib/index.d.mts", + "default": "./lib/esm/index.js" + }, + "require": { + "types": "./lib/index.d.ts", + "default": "./lib/index.js" + } } }, "scripts": {