kiliman / remix-typedjson

This package is a replacement for superjson to use in your Remix app. It handles a subset of types that `superjson` supports, but is faster and smaller.
MIT License
435 stars 19 forks source link

fix: correctly deserialize `undefined` #3

Closed Skn0tt closed 2 years ago

Skn0tt commented 2 years ago

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code

Hi @kiliman, what a wonderful project! While reading through the source code, I spotted a minor bug with the serialisation of undefined. This PR fixes that.

kiliman commented 2 years ago

Awesome. Thanks!