X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=3c671e579ce3e666512fa275062fddf8c6b6f74f;hb=0c534f784f869dd783640656316b260a91c3d111;hp=beca79e01f7d89c967f4c072b0d86230a45cd858;hpb=951ef8294e9eae8f0b42292059daf0c972dbc48f;p=oweals%2Fpeertube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index beca79e01..3c671e579 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,50 +1,43 @@ { "compileOnSave": false, "compilerOptions": { + "downlevelIteration": true, "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, "moduleResolution": "node", + "module": "esnext", "emitDecoratorMetadata": true, "experimentalDecorators": true, "noImplicitAny": true, "noImplicitThis": true, "suppressImplicitAnyIndexErrors":true, "alwaysStrict": true, - "target": "es5", + "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" ], + "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 - }, - "exclude": [ - "../node_modules", - "node_modules", - "dist", - "../server", - "src/**/*.spec.ts" - ] + "fullTemplateTypeCheck": true, + "strictTemplates": true + } }