X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=client%2Ftsconfig.json;h=752f5b35f66174e2bc2dc43ac11910eeee54365f;hb=HEAD;hp=10573b8ee4e1c188b8d90ba3ec8dfad03dcc3410;hpb=a6375e69668ea42e19531c6bc68dcd37f3f7cbd7;p=oweals%2Fpeertube.git diff --git a/client/tsconfig.json b/client/tsconfig.json index 10573b8ee..752f5b35f 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,37 +1,44 @@ { + "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, - "strictNullChecks": false, - "baseUrl": "./src", - "paths": [ + "noImplicitAny": true, + "noImplicitThis": true, + "suppressImplicitAnyIndexErrors":true, + "alwaysStrict": true, + "importHelpers": true, + "strictBindCallApply": true, + "target": "es2015", + "typeRoots": [ + "node_modules/@types" ], "lib": [ - "dom", - "es6" + "es2018", + "dom" ], - "types": [ - "node", - "source-map", - "uglify-js", - "webpack" - ] + "baseUrl": "./", + "paths": { + "video.js": [ "node_modules/video.js/core" ], + "@app/*": [ "src/app/*" ], + "@shared/*": [ "../shared/*" ], + "fs": [ "src/shims/noop.ts" ], + "http": [ "src/shims/http.ts" ], + "https": [ "src/shims/https.ts" ], + "path": [ "src/shims/path.ts" ], + "stream": [ "src/shims/noop.ts" ], + "crypto": [ "src/shims/noop.ts" ] + } }, - "exclude": [ - "node_modules", - "dist" - ], - "awesomeTypescriptLoaderOptions": { - "forkChecker": true, - "useWebpackText": true - }, - "compileOnSave": false, - "buildOnSave": false, - "atom": { "rewriteTsconfig": false } + "angularCompilerOptions": { + "strictInjectionParameters": true, + "fullTemplateTypeCheck": true, + "strictTemplates": true + } }