From 897f11e51e20454169a3d8a691a073662f901774 Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Mon, 1 May 2023 11:58:53 -0700 Subject: [PATCH] Ensure tslib.es6.js is typed --- package.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1ae5313..1481574 100644 --- a/package.json +++ b/package.json @@ -28,10 +28,16 @@ "sideEffects": false, "exports": { ".": { - "module": "./tslib.es6.js", + "module": { + "types": "./tslib.d.ts", + "default": "./tslib.es6.js" + }, "import": { "node": "./modules/index.js", - "default": "./tslib.es6.js" + "default": { + "types": "./tslib.d.ts", + "default": "./tslib.es6.js" + } }, "default": "./tslib.js" },