X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=1668cfced03d1c35a4a4944638bde0849cafea5a;hb=b00f185643e521c696eedff8c32701b723994acd;hp=7a0584d5c1b5e694ebca583f0c40f8ce59c13807;hpb=a2fb5fb8b1007e3ce82e707917f5d9a37374e99b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 7a0584d5c..1668cfced 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -10,17 +10,17 @@ "experimentalDecorators": true, "noImplicitAny": true, "noImplicitThis": true, - "suppressImplicitAnyIndexErrors":true, + "suppressImplicitAnyIndexErrors": true, "alwaysStrict": true, "importHelpers": true, "allowSyntheticDefaultImports": true, "strictBindCallApply": true, - "target": "es2017", + "target": "ES2022", "typeRoots": [ "node_modules/@types" ], "lib": [ - "ES2020.Intl", + "ES2021.Intl", "es2018", "es2017", "es2016", @@ -29,23 +29,56 @@ ], "baseUrl": "./", "paths": { - "hls.js": [ "node_modules/hls.js/dist/hls.light" ], - "video.js": [ "node_modules/video.js/core" ], - "@app/*": [ "src/app/*" ], - "@shared/models/*": [ "../shared/models/*" ], - "@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" ], - "https": [ "src/shims/https.ts" ], - "path": [ "src/shims/path.ts" ], - "stream": [ "src/shims/stream.ts" ], - "crypto": [ "src/shims/noop.ts" ] - } + "hls.js": [ + "node_modules/hls.js/dist/hls.light" + ], + "video.js": [ + "node_modules/video.js/core" + ], + "@app/*": [ + "src/app/*" + ], + "@shared/models/*": [ + "../shared/models/*" + ], + "@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" + ], + "https": [ + "src/shims/https.ts" + ], + "path": [ + "src/shims/path.ts" + ], + "stream": [ + "src/shims/stream.ts" + ], + "crypto": [ + "src/shims/noop.ts" + ] + }, + "useDefineForClassFields": false }, "files": [ "src/polyfills.ts"