diff --git a/package.json b/package.json index ce0750599b..37883aaeb0 100644 --- a/package.json +++ b/package.json @@ -26,9 +26,9 @@ "type": "commonjs", "main": "./dist/index.js", "exports": { + "types": "./dist/index.d.ts", "import": "./wrapper.mjs", - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "require": "./dist/index.js" }, "types": "./dist/index.d.ts", "license": "MIT",