-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove defaults #1
Comments
Hello, the interface Since the values you are referring to are optional I think you can manually set them to |
This doesn't work because the defaults are using pino-rotating-file-stream/src/index.ts Lines 13 to 16 in 53a9d14
For example // assume interval = undefined
undefined || '7d'
// '7d' |
Sorry actually looking at the
I'm not sure why they made the type optional but then don't actually support With that in mind then, I guess this library always setting some defaults even for falsy values makes sense. |
Hey. In https://github.com/thelicato/pino-rotating-file-stream/blob/main/src/index.ts you set some default values, but in my case I don't want to have an interval, but with those I cannot set it to undefined.
Are you able to remove those default values so that those can be undefined?
The text was updated successfully, but these errors were encountered: