From 37f8e329234aefe84821543934888191133fd4c5 Mon Sep 17 00:00:00 2001 From: Lincoln <117424099+codelincoln@users.noreply.github.com> Date: Thu, 17 Nov 2022 22:20:17 -0800 Subject: [PATCH] Fix typescript types not working with node16 resolution environment --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b47fa2e..1f196d6 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "author": "Travis Fischer ", "type": "module", "exports": { - "default": "./dist/random.module.js" + "import": "./dist/random.module.js", + "types": "./dist/index.d.ts", + "default": "./dist/random.module.js" }, "files": [ "dist"