X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=56e7b68ee448be28e046b6027bfaef00753fbe55;hb=eeae81428e933b923dc9d9b6c9ce5c9fcf0de1a7;hp=c4f2d6a6a5afd2fb03453f48bde6457ddcdc9cf9;hpb=338eb9d33af690db716805fd2277bf68f473b58f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index c4f2d6a6a..56e7b68ee 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -7,12 +7,12 @@ "declaration": false, "moduleResolution": "node", "module": "esnext", - "emitDecoratorMetadata": true, "experimentalDecorators": true, "noImplicitAny": true, "noImplicitThis": true, "suppressImplicitAnyIndexErrors":true, "alwaysStrict": true, + "importHelpers": true, "strictBindCallApply": true, "target": "es2015", "typeRoots": [ @@ -20,23 +20,46 @@ ], "lib": [ "es2018", + "es2017", + "es2016", + "es2015", "dom" ], "baseUrl": "./", "paths": { + "hls.js": [ "node_modules/hls.js/dist/hls.light" ], + "video.js": [ "node_modules/video.js/core" ], "@app/*": [ "src/app/*" ], - "@shared/*": [ "../shared/*" ], - "video.js": [ "node_modules/video.js/dist/alt/video.core.novtt" ], - "fs": [ "src/shims/noop" ], - "http": [ "src/shims/http" ], - "https": [ "src/shims/https" ], - "path": [ "src/shims/path" ], - "stream": [ "src/shims/noop" ], - "crypto": [ "src/shims/noop" ] + "@shared/models/*": [ "../shared/models/*" ], + "@shared/models": [ "../shared/models" ], + "@shared/core-utils": [ "../shared/core-utils" ], + "@shared/core-utils/*": [ "../shared/core-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" ] } }, + "files": [ + "src/polyfills.ts" + ], + "include": [ + "src/main*.ts", + "src/**/*.d.ts", + "src/shims/*.ts" + ], + "exclude": [ + "../node_modules", + "../server", + "node_modules" + ], "angularCompilerOptions": { "strictInjectionParameters": true, - "fullTemplateTypeCheck": true + "fullTemplateTypeCheck": true, + "strictTemplates": true, + "enableI18nLegacyMessageIdFormat": false } }