X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=8824c4f7c977290433665cddacf75377a7e874b5;hb=404f0c0f54398c23b605679d0eb476d9fecc5df2;hp=f1d97110dfbbba3bed6acf38fa3018668a352f8c;hpb=f2e05ffea78255dd431dbddfffff89ac9ff69bdc;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index f1d97110d..8824c4f7c 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,42 +1,42 @@ { "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" ], - "types": [ - "jasmine" - ], - "baseUrl": "src", + "baseUrl": "./", "paths": { - "@app/*": [ "app/*" ], - "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" ] + "@app/*": [ "src/app/*" ], + "@shared/*": [ "../shared/*" ], + "video.js": [ "node_modules/video.js/dist/alt/video.core.js" ], + "fs": [ "src/shims/noop" ], + "http": [ "src/shims/http" ], + "https": [ "src/shims/https" ], + "path": [ "src/shims/path" ], + "stream": [ "src/shims/noop" ], + "crypto": [ "src/shims/noop" ] } }, - "exclude": [ - "../node_modules", - "node_modules", - "dist", - "../server", - "src/**/*.spec.ts" - ] + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true + } }