From 3a57a5bc3cb6a7f9c1f8ac17257f598c20d60397 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 20 Jan 2025 10:31:51 +0100 Subject: [PATCH] Add declaration maps --- .gitignore | 1 + package.json | 1 + tsconfig.json | 1 + 3 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index b976b9c..388388c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *.d.ts *.log +*.map *.tsbuildinfo .DS_Store coverage/ diff --git a/package.json b/package.json index 596e81a..306d906 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ }, "exports": "./index.js", "files": [ + "index.d.ts.map", "index.d.ts", "index.js", "lib/" diff --git a/tsconfig.json b/tsconfig.json index 82cc749..fc3d1e4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "checkJs": true, "customConditions": ["development"], + "declarationMap": true, "declaration": true, "emitDeclarationOnly": true, "exactOptionalPropertyTypes": true,