From d70f911c79e20a17c022c2318df75e6328760335 Mon Sep 17 00:00:00 2001 From: Alex Regan Date: Tue, 27 Sep 2022 15:24:27 -0700 Subject: [PATCH] fix: support TS resolution for .mjs (#296) See here for explanation of problem and solution: https://stackoverflow.com/questions/72457791/typescript-packages-that-ship-with-mjs-and-d-ts-but-without-d-mts-how-to-i Signed-off-by: Alex Regan Signed-off-by: Alex Regan --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index b113fd1df..5f6dbcc72 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "exports": { ".": { "require": "./index.js", + "types": "./index.d.ts", "import": "./index.mjs" }, "./aws": "./lib/aws/index.js",