From 32fa66996deedea822e962c15cfc0cea758c3323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Sat, 29 Apr 2023 10:38:46 +0200 Subject: [PATCH] fix: move `types` condition to the front where needed --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ce0750599b..37883aaeb0 100644 --- a/package.json +++ b/package.json @@ -26,9 +26,9 @@ "type": "commonjs", "main": "./dist/index.js", "exports": { + "types": "./dist/index.d.ts", "import": "./wrapper.mjs", - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "require": "./dist/index.js" }, "types": "./dist/index.d.ts", "license": "MIT",