summaryrefslogtreecommitdiff
path: root/tsconfig.app.json
diff options
context:
space:
mode:
authorDaniel Andreas Wang <danielaw@tilde.club>2026-03-12 18:31:40 +0100
committerDaniel Andreas Wang <danielaw@tilde.club>2026-03-12 18:31:40 +0100
commitad9c2429def17cd73d0cc22837ef278abcd4f64a (patch)
treea45f23c88828feeaebae33bc7da04bbe606acfef /tsconfig.app.json
first commit
Diffstat (limited to 'tsconfig.app.json')
-rw-r--r--tsconfig.app.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/tsconfig.app.json b/tsconfig.app.json
new file mode 100644
index 0000000..c0f2d86
--- /dev/null
+++ b/tsconfig.app.json
@@ -0,0 +1,18 @@
+{
+ "extends": "@vue/tsconfig/tsconfig.dom.json",
+ "include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
+ "exclude": ["src/**/__tests__/*"],
+ "compilerOptions": {
+ // Extra safety for array and object lookups, but may have false positives.
+ "noUncheckedIndexedAccess": true,
+
+ // Path mapping for cleaner imports.
+ "paths": {
+ "@/*": ["./src/*"]
+ },
+
+ // `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
+ // Specified here to keep it out of the root directory.
+ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo"
+ }
+}