Closed L2HYUNN closed 1 month ago
Thanks to provide a type issue!
Is there a specific reason for keeping this condition?
The answer is no. that is a side effect typing at OptionalCompareKeys
has missing condition of K extends keyof TBase ? K : never;
, but RequiredCompareKeys
doesn't need that.
it is remove and improve at #56 PR. and i will add you co-author at that PR.
Package Scope
@use-funnel/core
Description
Hello!
I’m very interested in the use funnel library, and while exploring the code to understand its internal structure, I came across the following code and had a few questions about it.
It seems that the following line:
could be simplified to just
never
as shown below. Is there a specific reason for keeping this condition?If this simplification looks good to you, I’d be happy to open a PR.
Possible Solution
No response
etc.
No response