X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=beca79e01f7d89c967f4c072b0d86230a45cd858;hb=4e74e8032be8293ffe3cb3c30528d4ef7c11a798;hp=8ce9c5f96c1e54a3dc253465ed481c5b78c91b83;hpb=920d2d2b4c5d9206671171a8a2aee233a7d5dab2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 8ce9c5f96..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,9 +21,30 @@ "es2015", "dom" ], + "types": [ + "jasmine" + ], "baseUrl": "src", "paths": { - "@app/*": [ "app/*" ] + "@app/*": [ "app/*" ], + "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ], + "fs": [ "./shims/noop" ], + "http": [ "./shims/http" ], + "https": [ "./shims/https" ], + "path": [ "./shims/path" ], + "stream": [ "./shims/noop" ], + "crypto": [ "./shims/noop" ] } - } + }, + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true + }, + "exclude": [ + "../node_modules", + "node_modules", + "dist", + "../server", + "src/**/*.spec.ts" + ] }