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
I need to use imap to run my decode/encode functions, however to do this I am forced to work with the object type ({ query: string }) rather than just the string. Ideally I could just imap(decodeUrlSlugParam, encodeUrlSlugParam):
This would be possible with something like the existing type function but without the object wrapping. This can be done manually like in my example above.
Currently I am using
P.str
like so:I need to use
imap
to run my decode/encode functions, however to do this I am forced to work with the object type ({ query: string }
) rather than just thestring
. Ideally I could justimap(decodeUrlSlugParam, encodeUrlSlugParam)
:This would be possible with something like the existing
type
function but without the object wrapping. This can be done manually like in my example above.The text was updated successfully, but these errors were encountered: