Making onNoneEncoding optional with a default value of null

Hi! I was wondering if it would not be a good idea to have the onNoneEncoding prop of OptionFromNullishOr be optional and defaulting to null
We only use it in that case in our codebase so it would make the code easier to read and I feel like null would be the natural default value but I might be biaised.
Have you thought about it?
I could do the P.R. for it if you think it's a good idea.
Was this page helpful?