From 8736c2a0e5370d40e006abfa65c5ce1057c31121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fouilh=C3=A9?= Date: Wed, 25 May 2022 19:28:05 +0200 Subject: [PATCH] fix(typescript): support module Node16/NodeNext (#1005) Co-authored-by: Andrew Ross --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 4baba88e6dd..146463e6916 100644 --- a/package.json +++ b/package.json @@ -33,10 +33,12 @@ }, "exports": { ".": { + "types": "./dist/types/index.d.ts", "require": "./dist/cjs/index.js", "import": "./dist/esm/index.mjs" }, "./locale/*": { + "types": "./dist/types/locale/*.d.ts", "require": "./dist/cjs/locale/*.js", "import": "./dist/esm/locale/*.mjs" },