diff --git a/static/js/blueslip.ts b/static/js/blueslip.ts index 59cbd8f159..091f935571 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 e563acaaf1..899814ff02 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,6 +24,7 @@ "strict": true, "forceConsistentCasingInFileNames": true, "isolatedModules": true, + "noImplicitOverride": true, /* Additional checks */ "noUnusedLocals": true,