Skip to content

Build your personal knowledge base with Trilium Notes

chore(types): disable verbatim module syntax for now

Elian Doran8578aa26c165
diff --git a/apps/db-compare/tsconfig.app.json b/apps/db-compare/tsconfig.app.json
index c5944cc79e..bdf9ba8617 100644
--- a/apps/db-compare/tsconfig.app.json
+++ b/apps/db-compare/tsconfig.app.json
@@ -6,8 +6,7 @@
"node"
],
"rootDir": "src",
- "tsBuildInfoFile": "dist/tsconfig.app.tsbuildinfo",
- "verbatimModuleSyntax": false
+ "tsBuildInfoFile": "dist/tsconfig.app.tsbuildinfo"
},
"include": [
"src/**/*.ts"
diff --git a/apps/server-e2e/tsconfig.json b/apps/server-e2e/tsconfig.json
index 5e023db985..1df867f3a5 100644
--- a/apps/server-e2e/tsconfig.json
+++ b/apps/server-e2e/tsconfig.json
@@ -3,8 +3,7 @@
"compilerOptions": {
"allowJs": true,
"outDir": "out-tsc/playwright",
- "sourceMap": false,
- "verbatimModuleSyntax": false
+ "sourceMap": false
},
"include": [
"**/*.ts",
diff --git a/tsconfig.base.json b/tsconfig.base.json
index 87eba8adc4..76d2e73fcc 100644
--- a/tsconfig.base.json
+++ b/tsconfig.base.json
@@ -18,7 +18,7 @@
"strict": true,
"target": "es2022",
"customConditions": ["development"],
- "verbatimModuleSyntax": true,
+ "verbatimModuleSyntax": false, // TODO: Re-enable it when migrating back to ESM.
"resolveJsonModule": true,
"downlevelIteration": true,
"esModuleInterop": true,