From 154c18a40e3f16136d61c73b4e798e567ebd6528 Mon Sep 17 00:00:00 2001 From: RabsRincon Date: Wed, 27 Apr 2022 07:37:11 +0200 Subject: [PATCH] Add noImplicitOverride to tsc config --- lib/compilers/dotnet.ts | 2 +- tsconfig.backend.json | 3 --- tsconfig.base.json | 5 ++++- tsconfig.frontend.json | 2 -- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/lib/compilers/dotnet.ts b/lib/compilers/dotnet.ts index 53156962b..8bbcdc4a5 100644 --- a/lib/compilers/dotnet.ts +++ b/lib/compilers/dotnet.ts @@ -84,7 +84,7 @@ class DotNetCompiler extends BaseCompiler { ]; } - async runCompiler(compiler, options, inputFileName, execOptions) { + override async runCompiler(compiler, options, inputFileName, execOptions) { if (!execOptions) { execOptions = this.getDefaultExecOptions(); } diff --git a/tsconfig.backend.json b/tsconfig.backend.json index 2149bbf9f..f4ebb5aeb 100644 --- a/tsconfig.backend.json +++ b/tsconfig.backend.json @@ -10,8 +10,5 @@ /* Code generation */ "outDir": "./out/app", "typeRoots": ["./typings", "./node_modules/@types"], - /* Other options */ - "strict": true, - "noImplicitAny": false } } diff --git a/tsconfig.base.json b/tsconfig.base.json index c1058b205..2e425adc0 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -8,6 +8,9 @@ "esModuleInterop": true, /* Other options */ "forceConsistentCasingInFileNames": true, - "skipLibCheck": true + "skipLibCheck": true, + "strict": true, + "noImplicitAny": false, + "noImplicitOverride": true } } diff --git a/tsconfig.frontend.json b/tsconfig.frontend.json index e098a03f6..1678c6bfb 100644 --- a/tsconfig.frontend.json +++ b/tsconfig.frontend.json @@ -6,9 +6,7 @@ "rootDirs": ["./static", "./types"], /* Code generation */ "inlineSources": true, - "strict": true, "strictPropertyInitialization": false, - "noImplicitAny": false, "lib": ["dom", "es5"] } }