From 519e65e7dad87bb2878646bf74e4e1bab6e4caaf Mon Sep 17 00:00:00 2001 From: Ronan Jouchet Date: Fri, 26 Feb 2021 22:50:59 -0500 Subject: [PATCH] TSConfig: bump to target/lib es2018, since we require node10 --- app/tsconfig.json | 6 ++++-- tsconfig.json | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/tsconfig.json b/app/tsconfig.json index 2c845db..1baedbc 100644 --- a/app/tsconfig.json +++ b/app/tsconfig.json @@ -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/**/*" diff --git a/tsconfig.json b/tsconfig.json index a2ad6d3..4c0feec 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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/**/*"