X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=d9e798f91ac053363ef367599a17fac75273fc7f;hb=2fd59d7d89d1c389446ee67838c821e2622fc8ca;hp=ac9a3522d536a23f33768d9453261aa44bdaab12;hpb=93cae47925e4dd68b7d34a41927b2740b4fab1b4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index ac9a3522d..d9e798f91 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,6 +1,7 @@ { "compileOnSave": false, "compilerOptions": { + "downlevelIteration": true, "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, @@ -13,45 +14,29 @@ "suppressImplicitAnyIndexErrors":true, "alwaysStrict": true, "strictBindCallApply": true, - "target": "es5", + "target": "es2015", "typeRoots": [ "node_modules/@types" ], "lib": [ - "es2017", - "es2016", - "es2015", + "es2018", "dom" ], - "types": [ - "jasmine" - ], - "baseUrl": "src", + "baseUrl": "./", "paths": { - "@app/*": [ "app/*" ], - "@shared/*": [ "../../shared/*" ], - "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ], - "fs": [ "./shims/noop" ], - "http": [ "./shims/http" ], - "https": [ "./shims/https" ], - "path": [ "./shims/path" ], - "stream": [ "./shims/noop" ], - "crypto": [ "./shims/noop" ] + "@app/*": [ "src/app/*" ], + "@shared/*": [ "../shared/*" ], + "fs": [ "src/shims/noop.ts" ], + "http": [ "src/shims/http.ts" ], + "https": [ "src/shims/https.ts" ], + "path": [ "src/shims/path.ts" ], + "stream": [ "src/shims/noop.ts" ], + "crypto": [ "src/shims/noop.ts" ] } }, "angularCompilerOptions": { "strictInjectionParameters": true, - "fullTemplateTypeCheck": true - }, - "include": [ - "./src", - "../../shared" - ], - "exclude": [ - "../../node_modules", - "../node_modules", - "../dist", - "../../server", - "../src/**/*.spec.ts" - ] + "fullTemplateTypeCheck": true, + "strictTemplates": true + } }