custom datatypes
Let's say I have
but I want to shorten this to
textArray()
. I'd assume this should be as easy as
but what is the correct type?
Especially when looking at more complicated shorthands like
I can't get it to be a transparent pass through as ref()
does not allow for adding notNull()
.
Any pointers for reducing the verbosity with some helper functions?1 Reply
anyone?