X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=3f9986f8a6674c306862d48bd44c119b7908c00c;hb=6ec0b75beb9c8bcd84e178912319913b91830da2;hp=60c343867496496f0b30648622839a5b941f7c11;hpb=3ea9a1c311c3e3c55fb95560d4dd99a77c52df4a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 60c343867..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/*" ], @@ -28,5 +36,16 @@ "stream": [ "./shims/noop" ], "crypto": [ "./shims/noop" ] } - } + }, + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true + }, + "exclude": [ + "../node_modules", + "node_modules", + "dist", + "../server", + "src/**/*.spec.ts" + ] }