Closed
Description
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
Labels
No labels
Activity
Apollon77 commentedon Aug 21, 2021
hm ... I just discovered #726 ... No idea who maintains the types defined in https://www.npmjs.com/package/@types/debug