Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export SuperJSONValue alongside SuperJSONResult #309

Open
scripthunter7 opened this issue Jan 13, 2025 · 1 comment
Open

Export SuperJSONValue alongside SuperJSONResult #309

scripthunter7 opened this issue Jan 13, 2025 · 1 comment

Comments

@scripthunter7
Copy link

Hi, I noticed that SuperJSONResult is exported from the library, but SuperJSONValue is not. It might be beneficial to export SuperJSONValue as well, especially for developers who want to write TypeScript wrappers around serialize and deserialize. Having access to this type would make it easier to ensure type safety and proper usage in such cases.

Would it be possible to export SuperJSONValue in a future update?

Thank you for your work on this great library!

@scripthunter7
Copy link
Author

scripthunter7 commented Jan 13, 2025

Seems there is a related PR already: #300

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant