From 028831ea9ad9ab52c667676f39906ce85cf8b85f Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Sat, 11 Jan 2025 15:24:28 +0100 Subject: [PATCH] Moved declaration and declarationDir to single files to prevent conflict with examples configs --- tsconfig.cjs.json | 2 ++ tsconfig.esm.json | 2 ++ tsconfig.json | 2 -- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tsconfig.cjs.json b/tsconfig.cjs.json index 3c7a32e..cd70600 100644 --- a/tsconfig.cjs.json +++ b/tsconfig.cjs.json @@ -1,6 +1,8 @@ { "extends": "./tsconfig.json", "compilerOptions": { + "declaration": true, + "declarationDir": "lib/types", "outDir": "lib/cjs", "inlineSourceMap": true, "skipLibCheck": true, diff --git a/tsconfig.esm.json b/tsconfig.esm.json index 6e3dbdc..7be2720 100644 --- a/tsconfig.esm.json +++ b/tsconfig.esm.json @@ -1,6 +1,8 @@ { "extends": "./tsconfig.json", "compilerOptions": { + "declaration": true, + "declarationDir": "lib/types", "outDir": "lib/esm", "inlineSourceMap": true, "skipLibCheck": true, diff --git a/tsconfig.json b/tsconfig.json index 3ce6ec9..ec64a5e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,5 @@ { "compilerOptions": { - "declaration": true, - "declarationDir": "lib/types", "target": "es2018", "esModuleInterop": true, "newLine": "LF",