Open afuechsel opened 2 years ago
While creating the types for typescript I was a bit surprised by this line:
readonly interval: void;
this._interval is set here to the value returned by collectDefaultMetrics. But this is void (see here).
this._interval
collectDefaultMetrics
void
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._interval
is set here to the value returned bycollectDefaultMetrics
. But this isvoid
(see here).The value from
this._interval
is then been used here, which does not make any sense, as it is stillvoid
.