X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=f99c5d87d47f1f3a63fddfe9b29dc6c135e87c35;hb=a1758df8a3c3f866460edd8f9bbc94e8dd41fd80;hp=6ac5e6a9e46e261a05e32c4c36607e4bcb1bb99b;hpb=0b18f4aa80df8868bf34605423c7a298dffbb2aa;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 6ac5e6a9e..f99c5d87d 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,13 +1,20 @@ { "compileOnSave": false, "compilerOptions": { + "downlevelIteration": true, "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, "moduleResolution": "node", + "module": "esnext", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "target": "es5", + "noImplicitAny": true, + "noImplicitThis": true, + "suppressImplicitAnyIndexErrors":true, + "alwaysStrict": true, + "strictBindCallApply": true, + "target": "es2015", "typeRoots": [ "node_modules/@types" ], @@ -17,9 +24,13 @@ "es2015", "dom" ], + "types": [ + "jasmine" + ], "baseUrl": "src", "paths": { "@app/*": [ "app/*" ], + "@shared/*": [ "../../shared/*" ], "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ], "fs": [ "./shims/noop" ], "http": [ "./shims/http" ], @@ -29,10 +40,19 @@ "crypto": [ "./shims/noop" ] } }, + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true + }, + "include": [ + "./src", + "../../shared" + ], "exclude": [ + "../../node_modules", "../node_modules", - "node_modules", - "dist", - "../server" + "../dist", + "../../server", + "../src/**/*.spec.ts" ] }