X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=beca79e01f7d89c967f4c072b0d86230a45cd858;hb=4e74e8032be8293ffe3cb3c30528d4ef7c11a798;hp=6ac5e6a9e46e261a05e32c4c36607e4bcb1bb99b;hpb=0b18f4aa80df8868bf34605423c7a298dffbb2aa;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 6ac5e6a9e..beca79e01 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -7,6 +7,10 @@ "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, + "noImplicitAny": true, + "noImplicitThis": true, + "suppressImplicitAnyIndexErrors":true, + "alwaysStrict": true, "target": "es5", "typeRoots": [ "node_modules/@types" @@ -17,6 +21,9 @@ "es2015", "dom" ], + "types": [ + "jasmine" + ], "baseUrl": "src", "paths": { "@app/*": [ "app/*" ], @@ -29,10 +36,15 @@ "crypto": [ "./shims/noop" ] } }, + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true + }, "exclude": [ "../node_modules", "node_modules", "dist", - "../server" + "../server", + "src/**/*.spec.ts" ] }