X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=c4f2d6a6a5afd2fb03453f48bde6457ddcdc9cf9;hb=7e416f7226843a34dfb60240018956c476737ae4;hp=66c7bb4443a9f60fecf74c229a02487ae8352642;hpb=8635a2c70cc24a4c52558162ac058de95750271f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 66c7bb444..c4f2d6a6a 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,32 +1,42 @@ { + "compileOnSave": false, "compilerOptions": { - "target": "es5", - "module": "commonjs", + "downlevelIteration": true, + "outDir": "./dist/out-tsc", + "sourceMap": true, + "declaration": false, "moduleResolution": "node", + "module": "esnext", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "allowSyntheticDefaultImports": true, - "sourceMap": true, - "noEmitHelpers": true, - "importHelpers": true, - "strictNullChecks": false, - "baseUrl": "./src", - "paths": [ + "noImplicitAny": true, + "noImplicitThis": true, + "suppressImplicitAnyIndexErrors":true, + "alwaysStrict": true, + "strictBindCallApply": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" ], "lib": [ - "dom", - "es6" - ] - }, - "exclude": [ - "node_modules", - "dist" - ], - "awesomeTypescriptLoaderOptions": { - "forkChecker": true, - "useWebpackText": true + "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" ] + } }, - "compileOnSave": false, - "buildOnSave": false, - "atom": { "rewriteTsconfig": false } + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true + } }