diff --git a/package.json b/package.json index 049a344ef..1cf280387 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,8 @@ "bugs": { "url": "https://github.com/formium/tsdx/issues" }, + "main": "./dist/types.js", + "types": "./dist/types.d.ts", "bin": { "tsdx": "./dist/index.js" }, diff --git a/tsconfig.json b/tsconfig.json index b1e42b698..fa022b806 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "importHelpers": true, "esModuleInterop": true, "outDir": "dist", - "declaration": false, + "declaration": true, "module": "commonjs", "rootDir": "src", "strict": true,