From a3748a14df3b4508291f12d57fab3d8d1dedf46a Mon Sep 17 00:00:00 2001 From: Malasaur Date: Mon, 2 Feb 2026 22:15:21 +0100 Subject: [PATCH] Added compiler options --- tsconfig.app.json | 8 ++++++-- tsconfig.json | 10 ++++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/tsconfig.app.json b/tsconfig.app.json index 8d16e42..0638dea 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -3,6 +3,10 @@ "compilerOptions": { "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", "types": ["vite/client"], + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"], + }, /* Linting */ "strict": true, @@ -10,7 +14,7 @@ "noUnusedParameters": true, "erasableSyntaxOnly": true, "noFallthroughCasesInSwitch": true, - "noUncheckedSideEffectImports": true + "noUncheckedSideEffectImports": true, }, - "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"] + "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"], } diff --git a/tsconfig.json b/tsconfig.json index 1ffef60..59578c3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,12 @@ "files": [], "references": [ { "path": "./tsconfig.app.json" }, - { "path": "./tsconfig.node.json" } - ] + { "path": "./tsconfig.node.json" }, + ], + "compilerOptions": { + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"], + }, + }, }