Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update the node version number in tsconfig doc comments

Manav Rathi0dda25800ea4
diff --git a/desktop/tsconfig.json b/desktop/tsconfig.json
index 0f6ad6052f..700ea3fa00 100644
--- a/desktop/tsconfig.json
+++ b/desktop/tsconfig.json
@@ -9,12 +9,12 @@
/* Recommended target, lib and other settings for code running in the
version of Node.js bundled with Electron.
- Currently, with Electron 25, this is Node.js 18
- https://www.electronjs.org/blog/electron-25-0
+ Currently, with Electron 29, this is Node.js 20.9
+ https://www.electronjs.org/blog/electron-29-0
Note that we cannot do
- "extends": "@tsconfig/node18/tsconfig.json",
+ "extends": "@tsconfig/node20/tsconfig.json",
because that sets "lib": ["es2023"]. However (and I don't fully
understand what's going on here), that breaks our compilation since