I have noticed several properties missing from interface WidgetContext in widget-component.model.ts.
For example: currentUser as suggested in StackOverflow seems to be the proper way to get the current user but isn't in the interface.
console.log(self.ctx) shows more services than what are listed in the interface as well.
Does self.ctx perhaps now have a new and different interface type?
custom-alarms-table-widget.component.ts still refers to WidgetContext.