superjson.registerCustom is not defined when "type": "module"
converter-user-old opened this issue · 3 comments
converter-user-old commented
When i use "type": "module" in my package.json i get a error that the function is not defined.
Only if i use superjson.default.registerCustom then it works but TS will then complain.
Skn0tt commented
@all-contributors please add @ruessej for bug
allcontributors commented
I've put up a pull request to add @ruessej! 🎉
Skn0tt commented
released in 1.9.1! thank you @ruessej :)