From f321ef53faf255214f381623c1cfacd36b6c37b2 Mon Sep 17 00:00:00 2001 From: Achmad Kurnianto Date: Thu, 5 Oct 2023 04:08:43 +0700 Subject: [PATCH] fix: add types to package.json exports field (#377) fix #370 If it's not too much trouble, could you please add the `hacktoberfest-accepted` tag to this PR? --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e1a544cb0..75de2d88a 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "browser": "./dist/geosearch.module.js", "umd": "./dist/geosearch.umd.js", "import": "./dist/geosearch.module.js", - "require": "./dist/geosearch.js" + "require": "./dist/geosearch.js", + "types": "./dist/index.d.ts" }, "./package.json": "./package.json", "./*": "./*"