X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=7a0584d5c1b5e694ebca583f0c40f8ce59c13807;hb=19c3ccfdf0e1dfa6a0a1a42461960c0c56a6200a;hp=fdf4dc777662c6f4d09fed11b81db9dab481c033;hpb=1d4591fd9c724c9409da31612f6d8c008f1cb5e4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index fdf4dc777..7a0584d5c 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": [ + "ES2020.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" ], @@ -53,7 +57,8 @@ ], "exclude": [ "../node_modules", - "../server" + "../server", + "node_modules" ], "angularCompilerOptions": { "strictInjectionParameters": true,