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/**/*"