import {SettingsService} from '../settings.service'; export abstract class AbstractSettingsService { protected constructor(public _settingsService: SettingsService) { } get Settings() { return this._settingsService.settings; } public getSettings(): Promise { return this._settingsService.getSettings(); } public showInSimplifiedMode(): boolean { return true; } isSupported() { return true; } abstract updateSettings(settings: T): Promise; }