Results 723 comments of Blake Embrey

I'm in favor of creating a factory function, but would prefer an alternative solution because, as @mindplay-dk mentions, this doesn't actually do anything except fiddle with types. It also makes...

Can you share the full error you’re getting? I have used it successfully with Vite and that linked issue doesn’t appear to be related.

> what’s the reason for including undefined in the return type? Mostly it's related to the decode function, as you noticed, allowing `string | undefined`. This is because `undefined` is...