Passing winston logger to config causes Error
Kreeg opened this issue · comments
Andrew commented
const log = winston.createLogger();
const config = new SVGSpriterConfig({
log,
});
throws
Uncaught TypeError: Function has non-object prototype 'undefined' in instanceof check
at Function.[Symbol.hasInstance] (<anonymous>)
Because winston.Logger
has no constructor