3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Change target in tsconfig from esnext to es2018 to support optional chaining/nullish coalescing on Node.js 12

This commit is contained in:
Dragory 2019-11-27 21:43:39 +02:00
parent 02e53aa358
commit 00e047f701
3 changed files with 3 additions and 4 deletions

View file

@ -6,9 +6,8 @@
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"target": "esnext", "target": "es2018",
"lib": [ "lib": [
"es2017",
"esnext" "esnext"
], ],
"baseUrl": ".", "baseUrl": ".",

View file

@ -2,7 +2,7 @@
"compilerOptions": { "compilerOptions": {
"moduleResolution": "node", "moduleResolution": "node",
"module": "esnext", "module": "esnext",
"target": "esnext", "target": "es2018",
"sourceMap": true, "sourceMap": true,
"noImplicitAny": false, "noImplicitAny": false,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,

View file

@ -6,7 +6,7 @@
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"target": "esnext", "target": "es2018",
"lib": [ "lib": [
"esnext" "esnext"
], ],