X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=3f9986f8a6674c306862d48bd44c119b7908c00c;hb=67b1d3fed765278bdc876cce393ef56d56942df0;hp=6ac5e6a9e46e261a05e32c4c36607e4bcb1bb99b;hpb=0b18f4aa80df8868bf34605423c7a298dffbb2aa;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 6ac5e6a9e..3f9986f8a 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -5,8 +5,13 @@ "sourceMap": true, "declaration": false, "moduleResolution": "node", + "module": "esnext", "emitDecoratorMetadata": true, "experimentalDecorators": true, + "noImplicitAny": true, + "noImplicitThis": true, + "suppressImplicitAnyIndexErrors":true, + "alwaysStrict": true, "target": "es5", "typeRoots": [ "node_modules/@types" @@ -17,6 +22,9 @@ "es2015", "dom" ], + "types": [ + "jasmine" + ], "baseUrl": "src", "paths": { "@app/*": [ "app/*" ], @@ -29,10 +37,15 @@ "crypto": [ "./shims/noop" ] } }, + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true + }, "exclude": [ "../node_modules", "node_modules", "dist", - "../server" + "../server", + "src/**/*.spec.ts" ] }