Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

tsconfig: Enable noImplicitOverride.

Anders Kaseorgd840d80ed493
diff --git a/static/js/blueslip.ts b/static/js/blueslip.ts
index 59cbd8f1594..091f935571d 100644
--- a/static/js/blueslip.ts
+++ b/static/js/blueslip.ts
@@ -165,7 +165,7 @@ function report_error(
}
class BlueslipError extends Error {
- name = "BlueslipError";
+ override name = "BlueslipError";
more_info?: unknown;
constructor(msg: string, more_info?: unknown) {
super(msg);
diff --git a/tsconfig.json b/tsconfig.json
index e563acaaf1c..899814ff022 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -24,6 +24,7 @@
"strict": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
+ "noImplicitOverride": true,
/* Additional checks */
"noUnusedLocals": true,