tsconfig: Enable noImplicitOverride.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2021-09-10 21:56:01 -07:00 committed by Tim Abbott
parent cf6515c774
commit d840d80ed4
2 changed files with 2 additions and 1 deletions

View File

@ -165,7 +165,7 @@ function report_error(
} }
class BlueslipError extends Error { class BlueslipError extends Error {
name = "BlueslipError"; override name = "BlueslipError";
more_info?: unknown; more_info?: unknown;
constructor(msg: string, more_info?: unknown) { constructor(msg: string, more_info?: unknown) {
super(msg); super(msg);

View File

@ -24,6 +24,7 @@
"strict": true, "strict": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"isolatedModules": true, "isolatedModules": true,
"noImplicitOverride": true,
/* Additional checks */ /* Additional checks */
"noUnusedLocals": true, "noUnusedLocals": true,