X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=c4f2d6a6a5afd2fb03453f48bde6457ddcdc9cf9;hb=a2479503519734a073b81969cd0223ebd4760dce;hp=e46528d1c9117717cd9c5bc8d304ec88d2aa64b7;hpb=97567dd81f508dd6295ac4d73d849aa2ce0a6549;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index e46528d1c..c4f2d6a6a 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,45 +13,30 @@ "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/*" ], - "@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/*" ], + "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 - }, - "include": [ - "./src", - "../../shared" - ], - "exclude": [ - "../../node_modules", - "../node_modules", - "../dist", - "../../server", - "../src/**/*.spec.ts" - ] + } }