X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=a0fbc27c682ef665b9befeaf898129e84cbc5839;hb=978c9d497b36e52196eb7e755406571e5d57cbc7;hp=f1d97110dfbbba3bed6acf38fa3018668a352f8c;hpb=f2e05ffea78255dd431dbddfffff89ac9ff69bdc;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index f1d97110d..a0fbc27c6 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -5,8 +5,13 @@ "sourceMap": true, "declaration": false, "moduleResolution": "node", + "module": "esnext", "emitDecoratorMetadata": true, "experimentalDecorators": true, + "noImplicitAny": true, + "noImplicitThis": true, + "suppressImplicitAnyIndexErrors":true, + "alwaysStrict": true, "target": "es5", "typeRoots": [ "node_modules/@types" @@ -23,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" ], @@ -32,11 +38,18 @@ "crypto": [ "./shims/noop" ] } }, + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true + }, + "include": [ + "../../shared" + ], "exclude": [ + "../../node_modules", "../node_modules", - "node_modules", - "dist", - "../server", - "src/**/*.spec.ts" + "../dist", + "../../server", + "../src/**/*.spec.ts" ] }