From 067ea21f4fb79573a1bb328709909e4d8e2ebe4a Mon Sep 17 00:00:00 2001 From: Rohit Kumar S <63893728+rohit35109@users.noreply.github.com> Date: Mon, 9 Dec 2024 11:52:47 +0530 Subject: [PATCH] Update package.json for dependency issue I have been facing issue related to reactjs-social-login 2.6.3 that says - Could not find a declaration file for module 'reactjs-social-login'. I have added types in exports which has resolved my issue. Hoping this will solve issues in other projects as well --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 58fd59a..042d836 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,8 @@ "browser": "./dist/reactjs-social-login.modern.js", "umd": "./dist/reactjs-social-login.umd.js", "import": "./dist/reactjs-social-login.modern.js", - "require": "./dist/reactjs-social-login.js" + "require": "./dist/reactjs-social-login.js", + "types": "./dist/index.d.ts" } }, "engines": {