X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tsconfig.base.json;h=18ba8f06c8db39f69fcceba5c543760ee996dae1;hb=d5c629d8b415e7f0ba0079b7173e593d86438b8e;hp=85e3ac213304cd6f4dbb831c6ffc1858bc252b81;hpb=b969539c838ae3012d7a7040c5e310bb9c834e95;p=github%2FChocobozzz%2FPeerTube.git diff --git a/tsconfig.base.json b/tsconfig.base.json index 85e3ac213..18ba8f06c 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -8,7 +8,6 @@ "emitDecoratorMetadata": true, "importHelpers": true, "removeComments": true, - "strictBindCallApply": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "lib": [ @@ -19,10 +18,6 @@ "es2018", "es2019" ], - "typeRoots": [ - "node_modules/@types", - "client/node_modules/@types" - ], "baseUrl": "./", "paths": { "@server/*": [ "server/*" ], @@ -31,6 +26,11 @@ }, "resolveJsonModule": true, "strict": false, + "strictBindCallApply": true, + "allowUnreachableCode": false, + "allowUnusedLabels": false, + "noFallthroughCasesInSwitch": true, + "noUnusedLocals": true, "skipLibCheck": true, "composite": true, "declarationMap": true