From 4e0078efe52c9a95fdb539a5ff74fd9047865aea Mon Sep 17 00:00:00 2001 From: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Date: Mon, 14 Apr 2025 18:46:00 +0200 Subject: [PATCH] fix: add TypeScript baseUrl in examples --- angular-standalone/tsconfig.json | 1 + angular/tsconfig.json | 1 + react-next14-ts/tsconfig.json | 1 + react-next15-ts/tsconfig.json | 1 + react-vite-ts/tsconfig.json | 1 + vue3-vite-ts/tsconfig.json | 1 + 6 files changed, 6 insertions(+) diff --git a/angular-standalone/tsconfig.json b/angular-standalone/tsconfig.json index 5525117..26d915a 100644 --- a/angular-standalone/tsconfig.json +++ b/angular-standalone/tsconfig.json @@ -3,6 +3,7 @@ { "compileOnSave": false, "compilerOptions": { + "baseUrl": "./", "outDir": "./dist/out-tsc", "strict": true, "noImplicitOverride": true, diff --git a/angular/tsconfig.json b/angular/tsconfig.json index a8bb65b..e11c026 100644 --- a/angular/tsconfig.json +++ b/angular/tsconfig.json @@ -3,6 +3,7 @@ { "compileOnSave": false, "compilerOptions": { + "baseUrl": "./", "outDir": "./dist/out-tsc", "strict": true, "noImplicitOverride": true, diff --git a/react-next14-ts/tsconfig.json b/react-next14-ts/tsconfig.json index c577102..50f93e0 100644 --- a/react-next14-ts/tsconfig.json +++ b/react-next14-ts/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "baseUrl": "./", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, diff --git a/react-next15-ts/tsconfig.json b/react-next15-ts/tsconfig.json index 0af27c1..8bbeb6f 100644 --- a/react-next15-ts/tsconfig.json +++ b/react-next15-ts/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "baseUrl": "./", "target": "ES2017", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, diff --git a/react-vite-ts/tsconfig.json b/react-vite-ts/tsconfig.json index 757ed39..5fc51e3 100644 --- a/react-vite-ts/tsconfig.json +++ b/react-vite-ts/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "baseUrl": "./", "target": "ESNext", "useDefineForClassFields": true, "lib": ["DOM", "DOM.Iterable", "ESNext"], diff --git a/vue3-vite-ts/tsconfig.json b/vue3-vite-ts/tsconfig.json index b14e64e..ac3e6d6 100644 --- a/vue3-vite-ts/tsconfig.json +++ b/vue3-vite-ts/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "baseUrl": "./", "target": "esnext", "useDefineForClassFields": true, "module": "esnext",