X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=7a0584d5c1b5e694ebca583f0c40f8ce59c13807;hb=d7efd9cfd49195f475f3fe9dfa7bb00a4d0ce843;hp=d68b3058e6f41662916117a42d08519d3fff961b;hpb=8b03e2ce1a2098261de2f729f660b1ae2a320b65;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index d68b3058e..7a0584d5c 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -6,7 +6,7 @@ "sourceMap": true, "declaration": false, "moduleResolution": "node", - "module": "esnext", + "module": "es2020", "experimentalDecorators": true, "noImplicitAny": true, "noImplicitThis": true, @@ -15,11 +15,12 @@ "importHelpers": true, "allowSyntheticDefaultImports": true, "strictBindCallApply": true, - "target": "es2015", + "target": "es2017", "typeRoots": [ "node_modules/@types" ], "lib": [ + "ES2020.Intl", "es2018", "es2017", "es2016", @@ -35,6 +36,8 @@ "@shared/models": [ "../shared/models" ], "@shared/core-utils": [ "../shared/core-utils" ], "@shared/core-utils/*": [ "../shared/core-utils/*" ], + "@shared/typescript-utils": [ "../shared/typescript-utils" ], + "@shared/typescript-utils/*": [ "../shared/typescript-utils/*" ], "@root-helpers/*": [ "src/root-helpers/*" ], "fs": [ "src/shims/noop.ts" ], "http": [ "src/shims/http.ts" ],