X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=beca79e01f7d89c967f4c072b0d86230a45cd858;hb=2f1548fda32c3ba9e53913270394eedfacd55986;hp=a6c016bf38ad7b4c02385b2e5797752c227bb2e0;hpb=63c4db6d71b98523753c51747e308682d9a2e8a0;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index a6c016bf3..beca79e01 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -7,13 +7,44 @@ "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, + "noImplicitAny": true, + "noImplicitThis": true, + "suppressImplicitAnyIndexErrors":true, + "alwaysStrict": true, "target": "es5", "typeRoots": [ "node_modules/@types" ], "lib": [ "es2017", + "es2016", + "es2015", "dom" - ] - } + ], + "types": [ + "jasmine" + ], + "baseUrl": "src", + "paths": { + "@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" + ] }