X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=e46528d1c9117717cd9c5bc8d304ec88d2aa64b7;hb=a18f275d302bbd95443c258b8d92f6dfd8eb1653;hp=ef80445db05dec5ccf550b14a6bc0a28446c6307;hpb=6d8c8ea73a774c3568e6d28a4cbebcf7979d5c2a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index ef80445db..e46528d1c 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -5,9 +5,11 @@ "sourceMap": true, "declaration": false, "moduleResolution": "node", + "module": "esnext", "emitDecoratorMetadata": true, "experimentalDecorators": true, "noImplicitAny": true, + "noImplicitThis": true, "suppressImplicitAnyIndexErrors":true, "alwaysStrict": true, "target": "es5", @@ -26,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" ], @@ -39,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" ] }