From f43814d51992cb3e08a1394b800355033aaeed1f Mon Sep 17 00:00:00 2001 From: Rene Saarsoo Date: Thu, 1 Oct 2020 20:39:18 +0300 Subject: [PATCH] Emit typescript declaration files --- package.json | 1 + tsconfig.json | 1 + 2 files changed, 2 insertions(+) diff --git a/package.json b/package.json index 2f426e9..88b40dd 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "build": "tsc" }, "main": "dist/index.js", + "types": "dist/index.d.ts", "bin": { "make-workout": "./bin/make-workout.js" }, diff --git a/tsconfig.json b/tsconfig.json index 447fd13..234824e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,7 @@ "noUnusedParameters": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, + "declaration": true, }, "include": [ "src/**/*"