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
The documentation for fromNewtype only shows how to use it with an alias for t.string, i.e. a type that doesn't have a custom type predicate. It's entirely unclear how to use it with e.g. the NonNegative newtype, which has a custom predicate.
The text was updated successfully, but these errors were encountered:
📖 Documentation
The documentation for
fromNewtype
only shows how to use it with an alias for t.string, i.e. a type that doesn't have a custom type predicate. It's entirely unclear how to use it with e.g. theNonNegative
newtype, which has a custom predicate.The text was updated successfully, but these errors were encountered: