X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=client%2Ftsconfig.json;h=a0fbc27c682ef665b9befeaf898129e84cbc5839;hb=d0e1e32589f4e76446eb84a3ec8e7fea39963412;hp=6ac5e6a9e46e261a05e32c4c36607e4bcb1bb99b;hpb=0b18f4aa80df8868bf34605423c7a298dffbb2aa;p=oweals%2Fpeertube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 6ac5e6a9e..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" @@ -17,9 +22,13 @@ "es2015", "dom" ], + "types": [ + "jasmine" + ], "baseUrl": "src", "paths": { "@app/*": [ "app/*" ], + "@shared/*": [ "../../shared/*" ], "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ], "fs": [ "./shims/noop" ], "http": [ "./shims/http" ], @@ -29,10 +38,18 @@ "crypto": [ "./shims/noop" ] } }, + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true + }, + "include": [ + "../../shared" + ], "exclude": [ + "../../node_modules", "../node_modules", - "node_modules", - "dist", - "../server" + "../dist", + "../../server", + "../src/**/*.spec.ts" ] }