diff --git a/package.json b/package.json index d8096fc..c9c81da 100644 --- a/package.json +++ b/package.json @@ -5,13 +5,13 @@ }, "version": "0.3.1", "license": "GPL-3.0", - "main": "dist/index.js", - "module": "dist/index.mjs", + "main": "./dist/index.js", + "module": "./dist/index.mjs", + "types": "./dist/index.d.ts", "exports": { - ".": { - "import": "./dist/index.mjs", - "require": "./dist/index.js" - } + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "require": "./dist/index.js" }, "repository": { "url": "https://github.com/kirishima-ship/fetch"