This adds a more complete type to MonitorStates.queue. The top level MonitorStates type shares most of the fields in common with each entry in MonitorStates.queue So MonitorStates ends up both extending the new type MonitorState as well as having an extra field queue which is an object with string keys and MonitorState values.
This adds a more complete type to
MonitorStates.queue
. The top levelMonitorStates
type shares most of the fields in common with each entry inMonitorStates.queue
SoMonitorStates
ends up both extending the new typeMonitorState
as well as having an extra fieldqueue
which is an object with string keys andMonitorState
values.