From 1ca1a43c5552546355c65243f7e39712e61894ea Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Thu, 26 Oct 2023 13:21:43 +0200 Subject: [PATCH] Add TypeScript declaration maps Closes GH-230. Reviewed-by: Christian Murphy Reviewed-by: Titus Wormer --- .gitignore | 1 + tsconfig.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 69d75b1a..67c4168d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ node_modules/ .DS_Store *.d.ts *.log +*.map yarn.lock !/index.d.ts !/test/types.d.ts diff --git a/tsconfig.json b/tsconfig.json index 2c12ea63..7347690d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ "checkJs": true, "customConditions": ["development"], "declaration": true, + "declarationMap": true, "emitDeclarationOnly": true, "exactOptionalPropertyTypes": true, "lib": ["es2022"],