From 450e6d3912ef12d3e1b932ab3b0210a51f159f47 Mon Sep 17 00:00:00 2001 From: encode42 Date: Sun, 11 Feb 2024 03:44:43 -0500 Subject: [PATCH] Let TypeScript generate types --- package.json | 1 - tsconfig.json | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1ee3b9d..5ef93fc 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,6 @@ "tsup": { "entry": ["build/**/*.js"], "splitting": true, - "dts": true, "minify": true, "format": ["esm"], "skipNodeModulesBundle": true diff --git a/tsconfig.json b/tsconfig.json index fa38f5b..56ce62d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,8 @@ "moduleResolution": "Node", "esModuleInterop": true, "isolatedModules": true, + "declaration": true, + "declarationDir": "dist", "allowJs": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true,