z.omit() removes type information
Hmmm, I couldn't quickly find a way to do that, but I assume it's possible. FWIW, I think I would approach this slightly differently by defining a const mask and using
omit
directly.
Or something like that.3 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
No, I just mean instead of having a function, just use the mask directly to get a new schema:
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View