You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the function is named autobindLoggers, instead of autobindLogger
I get typescript errors when I try to implement this code:
super (bind => {
// Creates new named loggers for all targets in the container, including the above services
autoBindLoggers(bind)
})
}
Parameter 'bind' implicitly has an 'any' type, but a better type may be inferred from usage.ts(7044)
Type '(bind: any) => void' has no properties in common with type 'ContainerOptions'.ts(2559)
What ís the correct way to implement this?
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to implement the autobindLoggers functionality, but it seems the documentation on https://github.com/node-ts/logger/tree/master/packages/logger-core about this is out of date
Parameter 'bind' implicitly has an 'any' type, but a better type may be inferred from usage.ts(7044)
Type '(bind: any) => void' has no properties in common with type 'ContainerOptions'.ts(2559)
What ís the correct way to implement this?
The text was updated successfully, but these errors were encountered: