X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=2345ca289b2314e31b0cf1c568dc4a5fba1d9e1e;hb=50f11699eaad6e9b079f11fd7d9831517ece6606;hp=56e7b68ee448be28e046b6027bfaef00753fbe55;hpb=9df52d660feb722404be00a50f3c8a612bec1c15;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 56e7b68ee..2345ca289 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -6,19 +6,21 @@ "sourceMap": true, "declaration": false, "moduleResolution": "node", - "module": "esnext", + "module": "es2020", "experimentalDecorators": true, "noImplicitAny": true, "noImplicitThis": true, "suppressImplicitAnyIndexErrors":true, "alwaysStrict": true, "importHelpers": true, + "allowSyntheticDefaultImports": true, "strictBindCallApply": true, - "target": "es2015", + "target": "es2017", "typeRoots": [ "node_modules/@types" ], "lib": [ + "ES2021.Intl", "es2018", "es2017", "es2016", @@ -34,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" ],