summaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
authorLeo Goetz <dev@leogtz.de>2026-05-08 15:48:37 +0200
committerLeo Goetz <dev@leogtz.de>2026-05-08 15:48:37 +0200
commitc3cb0ca317a52a740bf9625ca9df43f5c2306548 (patch)
treeaa8877dc2d651f16d23a629c4054043cae8be156 /tsconfig.json
inital commit
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000..b3479bd
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,34 @@
+{
+ // Visit https://aka.ms/tsconfig to read more about this file
+ "compilerOptions": {
+ "rootDir": "./src",
+ "outDir": "./dist",
+ "module": "nodenext",
+ "target": "esnext",
+ "types": [],
+ // For nodejs:
+ "lib": ["esnext"],
+ "types": ["node"],
+ // and npm install -D @types/node
+
+ // Other Outputs
+ "sourceMap": true,
+ "declaration": true,
+ "declarationMap": true,
+
+ // Stricter Typechecking Options
+ "noUncheckedIndexedAccess": true,
+ "exactOptionalPropertyTypes": true,
+
+ "noImplicitReturns": true,
+
+ // Recommended Options
+ "strict": true,
+ "jsx": "react-jsx",
+ "verbatimModuleSyntax": true,
+ "isolatedModules": true,
+ "noUncheckedSideEffectImports": true,
+ "moduleDetection": "force",
+ "skipLibCheck": true,
+ },
+}