about summary refs log tree commit diff stats
path: root/tsconfig.json
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-05-24 19:42:05 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-05-24 19:42:05 +0300
commit4500a513b971a6eafb3f240f9014e531777a763f (patch)
tree2aebbf674c2f0726d4047d77c9261608b4105e80 /tsconfig.json
parentd95410b3bf2baa0e6cd512b11816d3cd0e14ec0b (diff)
downloadthe-epube-4500a513b971a6eafb3f240f9014e531777a763f.tar.gz
the-epube-4500a513b971a6eafb3f240f9014e531777a763f.tar.xz
more ts-related hackery mostly about importing correct types
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/tsconfig.json b/tsconfig.json
index 77d8eda..eebe26f 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -4,7 +4,12 @@
     "checkJs": true,
     "noImplicitAny": false,
     "noEmit": true,
-    "types": ["bootstrap", "localforage", "epubjs", "node"]
+    "types": ["bootstrap", "localforage", "node", "epub.js/types", "localforage"],
+    "typeRoots": [
+      "node_modules/@types",
+      "lib",
+      "node_modules"
+    ]
   },
   "include": ["src/**/*"]
 }