Open
Description
The readme mentions that there should be a corresponding IfType
guard for every IsType
check.
For every
IsT
type (e.g.IsAny
), there is an associatedIfT
type that can help simplify conditional types.
I'm only seeing a few IfType
guards in the package (IfNever
, IfAny
, and IfUnknown
).
Potential fixes (that I can think of at the moment):
- Add the missing
IfType
guards - Update the readme to specifically call out those three guards