From 85384801e53d6ffcc6a3efe2d8e1d3610db60d55 Mon Sep 17 00:00:00 2001 From: Hazmi35 Date: Sat, 1 Oct 2022 13:46:18 +0700 Subject: [PATCH] fix: ESM TypeScript types resolution (#13) --- packages/deezer/package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/deezer/package.json b/packages/deezer/package.json index fbb3909..f4fa62d 100644 --- a/packages/deezer/package.json +++ b/packages/deezer/package.json @@ -5,13 +5,13 @@ "name": "KagChi" }, "version": "0.1.3", - "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" }, "license": "GPL-3.0", "repository": {