From 82b85138352d2d31ba0795192bcb22559fa61a3a Mon Sep 17 00:00:00 2001 From: Ferdi Koomen Date: Sat, 21 Mar 2020 12:31:55 +0100 Subject: [PATCH] - Added strict function types and comments in result --- package.json | 1 + tsconfig.json | 2 ++ 2 files changed, 3 insertions(+) diff --git a/package.json b/package.json index 32604793..f2221e65 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ ], "main": "dist/index.js", "module": "dist/index.js", + "types": "dist/index.d.ts", "bin": { "openapi": "bin/index.js" }, diff --git a/tsconfig.json b/tsconfig.json index 2a36586e..6952baaf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,7 +18,9 @@ "skipLibCheck": true, "strict": true, "strictNullChecks": true, + "strictFunctionTypes": true, "importHelpers": false, + "removeComments": false, "forceConsistentCasingInFileNames": true },