X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=c4f2d6a6a5afd2fb03453f48bde6457ddcdc9cf9;hb=a2479503519734a073b81969cd0223ebd4760dce;hp=1832d7b7e308149117668b706892605154f536df;hpb=4a6995be18b15de1834a39c8921a0e4109671bb6;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 1832d7b7e..c4f2d6a6a 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,69 +1,42 @@ { + "compileOnSave": false, "compilerOptions": { - "target": "es5", - "module": "commonjs", - "moduleResolution": "node", + "downlevelIteration": true, + "outDir": "./dist/out-tsc", "sourceMap": true, + "declaration": false, + "moduleResolution": "node", + "module": "esnext", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "removeComments": false, - "noImplicitAny": false + "noImplicitAny": true, + "noImplicitThis": true, + "suppressImplicitAnyIndexErrors":true, + "alwaysStrict": true, + "strictBindCallApply": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" + ], + "lib": [ + "es2018", + "dom" + ], + "baseUrl": "./", + "paths": { + "@app/*": [ "src/app/*" ], + "@shared/*": [ "../shared/*" ], + "video.js": [ "node_modules/video.js/dist/alt/video.core.novtt" ], + "fs": [ "src/shims/noop" ], + "http": [ "src/shims/http" ], + "https": [ "src/shims/https" ], + "path": [ "src/shims/path" ], + "stream": [ "src/shims/noop" ], + "crypto": [ "src/shims/noop" ] + } }, - "filesGlob": [ - "**/*.ts", - "!node_modules/**" - ], - "exclude": [ - "node_modules", - "typings/main", - "typings/main.d.ts" - ], - "compileOnSave": false, - "files": [ - "src/app/app.component.ts", - "src/app/friends/friend.service.ts", - "src/app/friends/index.ts", - "src/app/login/index.ts", - "src/app/login/login.component.ts", - "src/app/shared/index.ts", - "src/app/shared/search/index.ts", - "src/app/shared/search/search-field.type.ts", - "src/app/shared/search/search.component.ts", - "src/app/shared/search/search.model.ts", - "src/app/shared/users/auth-status.model.ts", - "src/app/shared/users/auth.service.ts", - "src/app/shared/users/index.ts", - "src/app/shared/users/token.model.ts", - "src/app/shared/users/user.model.ts", - "src/app/videos/index.ts", - "src/app/videos/shared/index.ts", - "src/app/videos/shared/loader/index.ts", - "src/app/videos/shared/loader/loader.component.ts", - "src/app/videos/shared/pagination.model.ts", - "src/app/videos/shared/sort-field.type.ts", - "src/app/videos/shared/video.model.ts", - "src/app/videos/shared/video.service.ts", - "src/app/videos/video-add/index.ts", - "src/app/videos/video-add/video-add.component.ts", - "src/app/videos/video-list/index.ts", - "src/app/videos/video-list/video-list.component.ts", - "src/app/videos/video-list/video-miniature.component.ts", - "src/app/videos/video-list/video-sort.component.ts", - "src/app/videos/video-watch/index.ts", - "src/app/videos/video-watch/video-watch.component.ts", - "src/app/videos/video-watch/webtorrent.service.ts", - "src/custom-typings.d.ts", - "src/main.ts", - "src/polyfills.ts", - "src/vendor.ts", - "typings/globals/es6-shim/index.d.ts", - "typings/globals/jasmine/index.d.ts", - "typings/globals/jquery.fileupload/index.d.ts", - "typings/globals/jquery/index.d.ts", - "typings/globals/node/index.d.ts", - "typings/index.d.ts" - ], - "atom": { - "rewriteTsconfig": true + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true } }