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" },