While creating the types for typescript I was a bit surprised by this line:
this._interval is set here to the value returned by collectDefaultMetrics. But this is void (see here).
The value from this._interval is then been used here, which does not make any sense, as it is still void.
While creating the types for typescript I was a bit surprised by this line:
this._intervalis set here to the value returned bycollectDefaultMetrics. But this isvoid(see here).The value from
this._intervalis then been used here, which does not make any sense, as it is stillvoid.