From 202f03f15089eaa6e9699932af83dbaa45d8bf56 Mon Sep 17 00:00:00 2001 From: Lee Henson Date: Wed, 17 Jan 2024 13:50:09 +0000 Subject: [PATCH] add types to exports map --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index b02bd92..1c85bc2 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,12 @@ "exports": { "./package.json": "./package.json", ".": { + "types": "./dist/esm/index.d.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" }, "./create": { + "types": "./dist/esm/create.d.ts", "import": "./dist/esm/create.js", "require": "./dist/cjs/create.js" }