X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=e46528d1c9117717cd9c5bc8d304ec88d2aa64b7;hb=f3d2e6d0826e39611a5fba91677fe56c93c83d90;hp=431ea7d91ba05946b0039b90a0db41ced37908db;hpb=bb5d90e62f631af3c899fbe586485e64938a5927;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 431ea7d91..e46528d1c 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -5,9 +5,12 @@ "sourceMap": true, "declaration": false, "moduleResolution": "node", + "module": "esnext", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "noImplicitAny": false, + "noImplicitAny": true, + "noImplicitThis": true, + "suppressImplicitAnyIndexErrors":true, "alwaysStrict": true, "target": "es5", "typeRoots": [ @@ -25,6 +28,7 @@ "baseUrl": "src", "paths": { "@app/*": [ "app/*" ], + "@shared/*": [ "../../shared/*" ], "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ], "fs": [ "./shims/noop" ], "http": [ "./shims/http" ], @@ -38,11 +42,15 @@ "strictInjectionParameters": true, "fullTemplateTypeCheck": true }, + "include": [ + "./src", + "../../shared" + ], "exclude": [ + "../../node_modules", "../node_modules", - "node_modules", - "dist", - "../server", - "src/**/*.spec.ts" + "../dist", + "../../server", + "../src/**/*.spec.ts" ] }