-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Hi,
I wanted to test your module, but unexpectedly it won't function.
By creating a new instance of the class 'Watchdog' with
var Watchdog = require('watchdog');
const timeout = 5000;
const dog = new Watchdog(timeout);
I get the following Error: TypeError: Watchdog is not a constructor
Even by testing it with RunKit directly from the npm page (https://npm.runkit.com/watchdog) the error appears.
Maybe the problem appears cause of the mixing of typescript module and JavaScript Code...
Reactions are currently unavailable