X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=fbdeb6d5df5c0e2ba85e12602e188772822d42e9;hb=64645512b08875c18ebdc009a550cdfa69def955;hp=3f9986f8a6674c306862d48bd44c119b7908c00c;hpb=4348a27d252a3349bafa7ef4859c0e2cf060c255;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 3f9986f8a..fbdeb6d5d 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, @@ -12,40 +13,31 @@ "noImplicitThis": true, "suppressImplicitAnyIndexErrors":true, "alwaysStrict": true, - "target": "es5", + "strictBindCallApply": true, + "target": "es2015", "typeRoots": [ "node_modules/@types" ], "lib": [ - "es2017", - "es2016", - "es2015", + "es2018", "dom" ], - "types": [ - "jasmine" - ], - "baseUrl": "src", + "baseUrl": "./", "paths": { - "@app/*": [ "app/*" ], - "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/*" ], + "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" ] } }, "angularCompilerOptions": { "strictInjectionParameters": true, - "fullTemplateTypeCheck": true - }, - "exclude": [ - "../node_modules", - "node_modules", - "dist", - "../server", - "src/**/*.spec.ts" - ] + "fullTemplateTypeCheck": true, + "strictTemplates": true + } }