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