From ae554c2ba791dc0e4cbdf712ec6a841154f1b566 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 17 Sep 2024 14:23:30 +0200 Subject: [PATCH] Add declaration maps --- .gitignore | 3 ++- package.json | 1 + tsconfig.json | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index cfac988..b5761b8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,8 @@ coverage/ node_modules/ -.DS_Store +*.d.ts.map *.d.ts *.log *.tsbuildinfo +.DS_Store yarn.lock diff --git a/package.json b/package.json index 87cd81a..b853ccc 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "exports": "./index.js", "files": [ "lib/", + "index.d.ts.map", "index.d.ts", "index.js" ], 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,