X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=client%2Ftsconfig.json;h=e46528d1c9117717cd9c5bc8d304ec88d2aa64b7;hb=09071200c73f5358e1d0bfb61a274e4f2c4ec52b;hp=43b27ce8eea04e40a719a11042744fbd60354ee2;hpb=4cb6d4578893db310297d7e118ce2fb7ecb952a3;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 43b27ce8e..e46528d1c 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -5,19 +5,52 @@ "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" ], "lib": [ "es2017", + "es2016", + "es2015", "dom" ], + "types": [ + "jasmine" + ], "baseUrl": "src", "paths": { - "@app/*": [ "app/*" ] + "@app/*": [ "app/*" ], + "@shared/*": [ "../../shared/*" ], + "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ], + "fs": [ "./shims/noop" ], + "http": [ "./shims/http" ], + "https": [ "./shims/https" ], + "path": [ "./shims/path" ], + "stream": [ "./shims/noop" ], + "crypto": [ "./shims/noop" ] } - } + }, + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true + }, + "include": [ + "./src", + "../../shared" + ], + "exclude": [ + "../../node_modules", + "../node_modules", + "../dist", + "../../server", + "../src/**/*.spec.ts" + ] }