Updated TypeScript type definitions. I also fixed tests so they would pass with notablescan option enabled, I always have my system configured that way, and added a test and fixed an issue where calling destroy before a database connection is established would result in an TypeError because db was still undefined.
The tests appear to be failing do to a change in Travis-CI and is unrelated to the code I provided. The failures occur during the attempt to restart the mongodb service.
Updated TypeScript type definitions. I also fixed tests so they would pass with
notablescan
option enabled, I always have my system configured that way, and added a test and fixed an issue where callingdestroy
before a database connection is established would result in anTypeError
becausedb
was stillundefined
.