X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=3c671e579ce3e666512fa275062fddf8c6b6f74f;hb=27d48bc30b09cff26afc3f1b4006092364e71a20;hp=cb6d3924541d572b7b3c09a5eded37074d2fb229;hpb=6cca7360eb9027e1544f7513df7da4684061ef7e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index cb6d39245..3c671e579 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,26 +1,43 @@ { "compileOnSave": false, "compilerOptions": { + "downlevelIteration": true, "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, "moduleResolution": "node", + "module": "esnext", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "target": "es5", + "noImplicitAny": true, + "noImplicitThis": true, + "suppressImplicitAnyIndexErrors":true, + "alwaysStrict": true, + "strictBindCallApply": true, + "target": "es2015", "typeRoots": [ "node_modules/@types" ], "lib": [ - "es2017", - "es2016", - "es2015", + "es2018", "dom" ], - "baseUrl": "src", + "baseUrl": "./", "paths": { - "@app/*": [ "app/*" ], - "video.js": [ "../node_modules/video.js/dist/alt/video.core.js" ] + "@app/*": [ "src/app/*" ], + "@shared/*": [ "../shared/*" ], + "video.js": [ "node_modules/video.js/dist/alt/video.core" ], + "fs": [ "src/shims/noop" ], + "http": [ "src/shims/http" ], + "https": [ "src/shims/https" ], + "path": [ "src/shims/path" ], + "stream": [ "src/shims/noop" ], + "crypto": [ "src/shims/noop" ] } + }, + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true, + "strictTemplates": true } }