Specify an error to appease the linter
This commit is contained in:
parent
4969cfe9de
commit
e4d8cca861
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue