X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=fbdeb6d5df5c0e2ba85e12602e188772822d42e9;hb=850ea778644b7cb5811198a464b9b687dc3fe582;hp=fac9da116edc3811116793c9895c24d086af8dfb;hpb=295ba044afc394ef51dac22263063670362787ec;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index fac9da116..fbdeb6d5d 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,45 +1,43 @@ { + "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": [ - "angular/app/app.component.ts", - "angular/friends/services/friends.service.ts", - "angular/main.ts", - "angular/users/components/login/login.component.ts", - "angular/users/models/authStatus.ts", - "angular/users/models/token.ts", - "angular/users/models/user.ts", - "angular/users/services/auth.service.ts", - "angular/videos/components/add/videos-add.component.ts", - "angular/videos/components/list/video-miniature.component.ts", - "angular/videos/components/list/videos-list.component.ts", - "angular/videos/components/watch/videos-watch.component.ts", - "angular/videos/video.ts", - "angular/videos/videos.service.ts", - "typings/globals/es6-shim/index.d.ts", - "typings/globals/jasmine/index.d.ts", - "typings/globals/node/index.d.ts", - "typings/index.d.ts" - ], - "atom": { - "rewriteTsconfig": true + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true, + "strictTemplates": true } }