X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=ce83a4f11c41685d0fb5a779d23de37c836d368b;hb=18ced0b44add7f97cf5ee849f16a07fab1f46094;hp=8ce9c5f96c1e54a3dc253465ed481c5b78c91b83;hpb=920d2d2b4c5d9206671171a8a2aee233a7d5dab2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 8ce9c5f96..ce83a4f11 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,25 +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/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 } }