Skip to content

enable(string) missing in TypeScript types #835

Closed
@Apollon77

Description

@Apollon77

I use some libraryies that use debug in some projects and so I have code like this to "redirect" the debug logging:

        debug.enable('hap-controller:*');
        debug.log = this.log.debug.bind(this);

The Typescript types from debug do not provide the "enable(string)" method. It would be awesome if this could be added

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