about summary refs log tree commit diff
path: root/users/Profpatsch/declib/tsconfig.json
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2024-02-11T16·31+0100
committerProfpatsch <mail@profpatsch.de>2024-02-11T16·38+0000
commit80c683c9ecf0129b5468028856a1443d87c6c64a (patch)
tree1e83ff04313ed98c6ae60edcc38a525ec63f065f /users/Profpatsch/declib/tsconfig.json
parentd2e3f8cd7bd4599f5d7e57b0887eff922d5e4a44 (diff)
feat(declib): initial mastodon bot experiment r/7499
No default.nix yet, just for development.

Change-Id: Ib8bd0057d697fecd083d5961e635c770b7638e08
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10803
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/Profpatsch/declib/tsconfig.json')
-rw-r--r--users/Profpatsch/declib/tsconfig.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/users/Profpatsch/declib/tsconfig.json b/users/Profpatsch/declib/tsconfig.json
new file mode 100644
index 0000000000..b7f2f4c18b
--- /dev/null
+++ b/users/Profpatsch/declib/tsconfig.json
@@ -0,0 +1,25 @@
+{
+  "compilerOptions": {
+    "strict": true,
+    "module": "NodeNext",
+    "sourceMap": true,
+    "outDir": "output",
+    "target": "ES6",
+    "lib": [],
+    "typeRoots": ["node_modules/@types", "shims/@types"],
+    "moduleResolution": "NodeNext",
+
+    // importHelpers & downlevelIteration will reduce the generated javascript for new language features.
+    // `importHelpers` requires the `tslib` dependency.
+    // "downlevelIteration": true,
+    // "importHelpers": true
+    "noFallthroughCasesInSwitch": true,
+    "noImplicitOverride": true,
+    "noImplicitReturns": true,
+    "noPropertyAccessFromIndexSignature": true,
+    "noUncheckedIndexedAccess": true,
+
+  },
+
+  "files": ["index.ts"]
+}