From 0822308a46d015463e1161f5ee577bba142d94ce Mon Sep 17 00:00:00 2001 From: Jonas De Vrient <32844711+devrnt@users.noreply.github.com> Date: Tue, 19 Dec 2023 12:42:39 +0000 Subject: [PATCH] Refer to types in package.json --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 82bab43..224ff3c 100644 --- a/package.json +++ b/package.json @@ -8,16 +8,20 @@ }, "main": "./index.js", "module": "./index.mjs", + "types": "./index.d.ts", "exports": { ".": { + "types": "./index.d.ts", "import": "./index.mjs", "require": "./index.js" }, "./date": { + "types": "./date/index.d.ts", "import": "./date/index.mjs", "require": "./date/index.js" }, "./date/mini": { + "types": "./date/mini.d.ts", "import": "./date/mini.mjs", "require": "./date/mini.js" }