X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=a0fbc27c682ef665b9befeaf898129e84cbc5839;hb=489290b8b16bede6ddfb773adad55dee6471ccfd;hp=cb6d3924541d572b7b3c09a5eded37074d2fb229;hpb=6cca7360eb9027e1544f7513df7da4684061ef7e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index cb6d39245..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,10 +22,34 @@ "es2015", "dom" ], + "types": [ + "jasmine" + ], "baseUrl": "src", "paths": { "@app/*": [ "app/*" ], - "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ] + "@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": [ + "../../shared" + ], + "exclude": [ + "../../node_modules", + "../node_modules", + "../dist", + "../../server", + "../src/**/*.spec.ts" + ] }