From 4d9581a7d799cc84f4a83fad6a1727b0708eb81e Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 25 Oct 2024 17:13:35 +0200 Subject: [PATCH] Add declaration maps --- .gitignore | 5 +++-- tsconfig.json | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3c9fb34..8123c9e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,9 @@ +*.d.ts *.log +*.map *.tsbuildinfo .DS_Store coverage/ -lib/**/*.d.ts node_modules/ -test/**/*.d.ts yarn.lock +!/index.d.ts diff --git a/tsconfig.json b/tsconfig.json index bed2bb4..c3e0c82 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "checkJs": true, "customConditions": ["development"], + "declarationMap": true, "declaration": true, "emitDeclarationOnly": true, "exactOptionalPropertyTypes": true,