flightcontrolhq / superjson

Safely serialize JavaScript expressions to a superset of JSON, which includes Dates, BigInts, and more.
https://www.flightcontrol.dev?ref=superjson
MIT License
4.11k stars 90 forks source link

Typo in PrimitveJSONValue type #168

Closed icflorescu closed 2 years ago

icflorescu commented 2 years ago

There's a typo in PrimitveJSONValue type here:

https://github.com/blitz-js/superjson/blob/c5bee351d2e25821600cd8e04b018e7c423b9f77/src/types.ts#L6

I could come up with a PR to fix it if needed, but I have no idea on how this should be handled so it won't become a breaking change.

Skn0tt commented 2 years ago

The type isn't exported anywhere consumable from clients, so it should be fine to just rename it :) Opened a PR!