X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=41814d0362500499541f63ca38016613a5117877;hb=3e6193313b1c082b68177c056121b733f9e7d31a;hp=8824c4f7c977290433665cddacf75377a7e874b5;hpb=16b5525950c27172b8426e03cbb1c59794cfc44c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 8824c4f7c..41814d036 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -7,12 +7,13 @@ "declaration": false, "moduleResolution": "node", "module": "esnext", - "emitDecoratorMetadata": true, "experimentalDecorators": true, "noImplicitAny": true, "noImplicitThis": true, "suppressImplicitAnyIndexErrors":true, "alwaysStrict": true, + "importHelpers": true, + "allowSyntheticDefaultImports": true, "strictBindCallApply": true, "target": "es2015", "typeRoots": [ @@ -20,23 +21,48 @@ ], "lib": [ "es2018", + "es2017", + "es2016", + "es2015", "dom" ], "baseUrl": "./", "paths": { + "hls.js": [ "node_modules/hls.js/dist/hls.light" ], + "video.js": [ "node_modules/video.js/core" ], "@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" ] + "@shared/models/*": [ "../shared/models/*" ], + "@shared/models": [ "../shared/models" ], + "@shared/core-utils": [ "../shared/core-utils" ], + "@shared/core-utils/*": [ "../shared/core-utils/*" ], + "@shared/typescript-utils": [ "../shared/typescript-utils" ], + "@shared/typescript-utils/*": [ "../shared/typescript-utils/*" ], + "@root-helpers/*": [ "src/root-helpers/*" ], + "fs": [ "src/shims/noop.ts" ], + "http": [ "src/shims/http.ts" ], + "https": [ "src/shims/https.ts" ], + "path": [ "src/shims/path.ts" ], + "stream": [ "src/shims/stream.ts" ], + "crypto": [ "src/shims/noop.ts" ] } }, + "files": [ + "src/polyfills.ts" + ], + "include": [ + "src/main*.ts", + "src/**/*.d.ts", + "src/shims/*.ts" + ], + "exclude": [ + "../node_modules", + "../server", + "node_modules" + ], "angularCompilerOptions": { "strictInjectionParameters": true, - "fullTemplateTypeCheck": true + "fullTemplateTypeCheck": true, + "strictTemplates": true, + "enableI18nLegacyMessageIdFormat": false } }