diff --git a/package.json b/package.json index 36779665..2fa12ceb 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,10 @@ "exports": { ".": [ { - "import": "./dist/index.esm.js", + "import": { + "types": "./index.d.ts", + "default": "./dist/index.esm.js" + }, "default": "./dist/index.cjs" }, "./dist/index.cjs"