TSConfig: bump to target/lib es2018, since we require node10

This commit is contained in:
Ronan Jouchet 2021-02-26 22:50:59 -05:00
parent d90d9f3d7f
commit 519e65e7da
2 changed files with 7 additions and 5 deletions

View File

@ -10,8 +10,10 @@
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"target": "es2017",
"lib": ["es2017", "dom"]
// https://stackoverflow.com/questions/51716406/typescript-tsconfig-settings-for-node-js-10
// and 'dom' to tell tsc it's okay to use the URL object (which is in Node >= 7)
"target": "es2018",
"lib": ["es2018", "dom"]
},
"include": [
"./src/**/*"

View File

@ -9,10 +9,10 @@
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
// https://stackoverflow.com/questions/48378495/recommended-typescript-config-for-node-8
// https://stackoverflow.com/questions/51716406/typescript-tsconfig-settings-for-node-js-10
// and 'dom' to tell tsc it's okay to use the URL object (which is in Node >= 7)
"target": "es2017",
"lib": ["es2017", "dom"]
"target": "es2018",
"lib": ["es2018", "dom"]
},
"include": [
"./src/**/*"