X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=a0fbc27c682ef665b9befeaf898129e84cbc5839;hb=489290b8b16bede6ddfb773adad55dee6471ccfd;hp=ef80445db05dec5ccf550b14a6bc0a28446c6307;hpb=244b4ae3973bc1511464a08158a123767f83179c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index ef80445db..a0fbc27c6 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,14 @@ "strictInjectionParameters": true, "fullTemplateTypeCheck": true }, + "include": [ + "../../shared" + ], "exclude": [ + "../../node_modules", "../node_modules", - "node_modules", - "dist", - "../server", - "src/**/*.spec.ts" + "../dist", + "../../server", + "../src/**/*.spec.ts" ] }