mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 22:48:21 +00:00
Specify an error to appease the linter
This commit is contained in:
@@ -46,7 +46,7 @@ export default abstract class SettingsHandler {
|
|||||||
*/
|
*/
|
||||||
public setValue(settingName: string, roomId: string, newValue): Promise<void> {
|
public setValue(settingName: string, roomId: string, newValue): Promise<void> {
|
||||||
console.error("Invalid operation: setValue was not overridden");
|
console.error("Invalid operation: setValue was not overridden");
|
||||||
return Promise.reject();
|
return Promise.reject(new Error("Invalid operation: setValue was not overridden"));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user