TransportOptions typings
pke opened this issue · 1 comments
pke commented
Do you think it would be possible to improve the typings for configs so that by specifying which transport the config is the config for via template argument the transportOptions could be typed?
const config: configLoggerType<ConsoleTransportConfig> = {
}
alessandro-bottamedi commented
In v 5.0.0 I used this solution to type the levels, I believe they are the most important. I will also include typing for transportOptions soon.