Skip to content

this._interval is void #67

@afuechsel

Description

@afuechsel

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).

The value from this._interval is then been used here, which does not make any sense, as it is still void.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions