Closed darthmaim closed 1 year ago
Nice, thank you!
What's interesting to me is that your project seems to be importing the .ts
files - that's surprising me, I'd have expected all projects to be using the dist/index.js
file. Is that a special config option you did?
@all-contributors please add @darthmaim for code
@Skn0tt
I've put up a pull request to add @darthmaim! :tada:
published this PR in https://github.com/blitz-js/superjson/releases/tag/v1.12.3.
What's interesting to me is that your project seems to be importing the
.ts
files - that's surprising me, I'd have expected all projects to be using thedist/index.js
file. Is that a special config option you did?
No, I would also have expected this, but its just a default next.js project with next-superjson-plugin, I am not even using superjson directly
Here is the tsconfig if you are interested: https://github.com/GW2Treasures/gw2treasures.com/blob/main/apps/web/tsconfig.json And here the PR to update to TS5 which currently fails: https://github.com/GW2Treasures/gw2treasures.com/pull/122
Thanks for merging this PR ❤️
When using typescript 5 in a project using superjson the build fails with the following error:
This change fixes this error.