Skip to content

A local-first personal finance app

add: tsconfig.json

Wout Mertensac1e2b3c799b
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000000..e6524ca5e1
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,19 @@
+{
+ "compilerOptions": {
+ "target": "ES2022",
+ "lib": ["ES2021", "DOM"],
+ "allowSyntheticDefaultImports": true,
+ "experimentalDecorators": true,
+ "resolveJsonModule": true,
+ "downlevelIteration": true,
+ "jsx": "preserve",
+ // Check JS files too
+ "allowJs": true,
+ "checkJs": true,
+ // Used for temp builds
+ "outDir": "build",
+ "moduleResolution": "Node",
+ "module": "ESNext"
+ },
+ "exclude": ["node_modules", "build"]
+}