浏览代码

Update the node version number in tsconfig doc comments

Manav Rathi 1 年之前
父节点
当前提交
0dda25800e
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      desktop/tsconfig.json

+ 3 - 3
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