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(core): improve resolveOption function with better type safety
- Move NonFunction to generic utility type that excludes function types
- Update Updater type to use NonFunction<TOutput> for better type constraints
- Add function overloads to resolveOption for optional vs required values
- Improve implementation with explicit type assertions and clearer logic
- Remove functionalUpdate function (replaced by resolveOption usage)
- Enhance documentation with better examples and type explanations
0 commit comments