From 4e75d21182d4deeb3ea0e856a9e1aba2ebef0753 Mon Sep 17 00:00:00 2001 From: Eddie Antonio Santos Date: Wed, 20 May 2020 10:27:57 -0600 Subject: [PATCH] change(web/utils): generate .d.ts file --- common/core/web/utils/package.json | 3 ++- common/core/web/utils/src/tsconfig.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common/core/web/utils/package.json b/common/core/web/utils/package.json index 530320674c..4a04926b09 100644 --- a/common/core/web/utils/package.json +++ b/common/core/web/utils/package.json @@ -2,7 +2,8 @@ "name": "@keymanapp/web-utils", "version": "14.0.78", "description": "Common utility functions used throughout other Keyman packages", - "main": "index.js", + "main": "./dist/index.js", + "types:": "./dist/index.d.ts", "scripts": { "tsc": "tsc" }, diff --git a/common/core/web/utils/src/tsconfig.json b/common/core/web/utils/src/tsconfig.json index 56266924bc..100f4ca66c 100644 --- a/common/core/web/utils/src/tsconfig.json +++ b/common/core/web/utils/src/tsconfig.json @@ -5,6 +5,7 @@ "outDir": "../dist/", "inlineSources": true, "sourceMap": true, + "declaration": true, "target": "es5", "types": ["node"], "lib": ["es6"],