Skip to content

Build your personal knowledge base with Trilium Notes

chore(website/i18n): fix typecheck issue

Elian Doranc28cf4da168f
diff --git a/apps/website/tsconfig.json b/apps/website/tsconfig.json
index 5b02bdf111..48581e18c4 100644
--- a/apps/website/tsconfig.json
+++ b/apps/website/tsconfig.json
@@ -1,6 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
+ "composite": true,
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "bundler",
@@ -9,8 +10,8 @@
"jsxImportSource": "preact",
"skipLibCheck": true,
"paths": {
- "react": ["./node_modules/preact/compat/"],
- "react-dom": ["./node_modules/preact/compat/"]
+ "react": ["../../node_modules/preact/compat/"],
+ "react-dom": ["../../node_modules/preact/compat/"]
}
},
"include": ["node_modules/vite/client.d.ts", "**/*"],