***SERVICE TS**** setUpAlarms(currentTime: number): void { this.savedAlarms .filter(alarm => this.checkAlarm(alarm, currentTime)) .forEach((time: any) => { setTimeout(() => { console.log('GISING!') console.log(time); }, time) }) } get savedAlarms(): number[] { let DATA = JSON.parse(this.localStorage.getItem(environment.appKey + '.' + 'postponed_alerts'));