From d5d58ee636afeb347349f34504ef790581628f71 Mon Sep 17 00:00:00 2001 From: Goran Urukalo Date: Tue, 9 Jan 2024 22:50:28 +0100 Subject: [PATCH] fix: update type definition in exports section Resolved TypeScript complaints about respecting exports typings Error code was ts(7016) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5140975..44d38ea 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ }, "exports": { ".": { + "types": "./types/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs.js" } @@ -61,4 +62,4 @@ "zustand": "^3.7.2" }, "packageManager": "pnpm@7.26.0" -} \ No newline at end of file +}