X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=752f5b35f66174e2bc2dc43ac11910eeee54365f;hb=7a09c3007a0b0ce317ca0c76948ca9c4712933dc;hp=43b27ce8eea04e40a719a11042744fbd60354ee2;hpb=4cb6d4578893db310297d7e118ce2fb7ecb952a3;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 43b27ce8e..752f5b35f 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,23 +1,44 @@ { "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, + "importHelpers": true, + "strictBindCallApply": true, + "target": "es2015", "typeRoots": [ "node_modules/@types" ], "lib": [ - "es2017", + "es2018", "dom" ], - "baseUrl": "src", + "baseUrl": "./", "paths": { - "@app/*": [ "app/*" ] + "video.js": [ "node_modules/video.js/core" ], + "@app/*": [ "src/app/*" ], + "@shared/*": [ "../shared/*" ], + "fs": [ "src/shims/noop.ts" ], + "http": [ "src/shims/http.ts" ], + "https": [ "src/shims/https.ts" ], + "path": [ "src/shims/path.ts" ], + "stream": [ "src/shims/noop.ts" ], + "crypto": [ "src/shims/noop.ts" ] } + }, + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true, + "strictTemplates": true } }