You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: add isCompletable type guard for cleaner usage
Encapsulates the type checking logic in a dedicated type guard function,
making the code more readable and maintainable compared to verbose
inline type assertions.
The type guard properly narrows the TypeScript type to CompletableSchema<T>,
allowing direct access to _def.complete without additional casting.
0 commit comments