X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=f99c5d87d47f1f3a63fddfe9b29dc6c135e87c35;hb=970ceac0a6bf4990b8924738591df4949491ec9b;hp=ef80445db05dec5ccf550b14a6bc0a28446c6307;hpb=244b4ae3973bc1511464a08158a123767f83179c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index ef80445db..f99c5d87d 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,16 +1,20 @@ { "compileOnSave": false, "compilerOptions": { + "downlevelIteration": true, "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, "moduleResolution": "node", + "module": "esnext", "emitDecoratorMetadata": true, "experimentalDecorators": true, "noImplicitAny": true, + "noImplicitThis": true, "suppressImplicitAnyIndexErrors":true, "alwaysStrict": true, - "target": "es5", + "strictBindCallApply": true, + "target": "es2015", "typeRoots": [ "node_modules/@types" ], @@ -26,6 +30,7 @@ "baseUrl": "src", "paths": { "@app/*": [ "app/*" ], + "@shared/*": [ "../../shared/*" ], "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ], "fs": [ "./shims/noop" ], "http": [ "./shims/http" ], @@ -39,11 +44,15 @@ "strictInjectionParameters": true, "fullTemplateTypeCheck": true }, + "include": [ + "./src", + "../../shared" + ], "exclude": [ + "../../node_modules", "../node_modules", - "node_modules", - "dist", - "../server", - "src/**/*.spec.ts" + "../dist", + "../../server", + "../src/**/*.spec.ts" ] }