From 92fd33d4716260ef61fcaaa8de32119c869e70fb Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Mon, 2 May 2022 11:03:10 +0200 Subject: [PATCH] fix(typescript): add types export for nodenext module resolution --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c120ea82..0d6f0bdc 100644 --- a/package.json +++ b/package.json @@ -30,11 +30,12 @@ "license": "MIT", "author": "Filip Skokan ", "exports": { + "types": "./types/index.d.ts", "import": "./lib/index.mjs", "require": "./lib/index.js" }, - "main": "lib/index.js", - "types": "types/index.d.ts", + "main": "./lib/index.js", + "types": "./types/index.d.ts", "files": [ "lib", "types/index.d.ts"