From 5f5efa14485290805117788c22d58f439bc80afa Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 28 Jul 2020 16:15:09 -0600 Subject: [PATCH] Decorate abstract classes as abstract --- src/settings/controllers/SettingController.ts | 2 +- src/settings/handlers/SettingsHandler.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/settings/controllers/SettingController.ts b/src/settings/controllers/SettingController.ts index 35a116e001..db7c10793e 100644 --- a/src/settings/controllers/SettingController.ts +++ b/src/settings/controllers/SettingController.ts @@ -25,7 +25,7 @@ import { SettingLevel } from "../SettingLevel"; * This is not intended to replace the functionality of a SettingsHandler, it is only * intended to handle environmental factors for specific settings. */ -export default class SettingController { +export default abstract class SettingController { /** * Gets the overridden value for the setting, if any. This must return null if the * value is not to be overridden, otherwise it must return the new value. diff --git a/src/settings/handlers/SettingsHandler.ts b/src/settings/handlers/SettingsHandler.ts index 3be0fa4636..af605e7e2a 100644 --- a/src/settings/handlers/SettingsHandler.ts +++ b/src/settings/handlers/SettingsHandler.ts @@ -19,7 +19,7 @@ limitations under the License. * Represents the base class for all level handlers. This class performs no logic * and should be overridden. */ -export default class SettingsHandler { +export default abstract class SettingsHandler { /** * Gets the value for a particular setting at this level for a particular room. * If no room is applicable, the roomId may be null. The roomId may not be