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

feat(jsonify): do not reduce tuples to arrays #433

Merged
merged 1 commit into from Aug 18, 2022

Conversation

qwelias
Copy link
Contributor

@qwelias qwelias commented Aug 15, 2022

Tuples are kind of nice, would be a shame to reduce them to generic arrays when Jsonifying.
Also refactored a bit, moved instanced 'primitives' under object case

@qwelias
Copy link
Contributor Author

qwelias commented Aug 18, 2022

@sindresorhus would be fantastic to get some feedback here, we're a bit blocked by tuples being converted to arrays

@sindresorhus sindresorhus merged commit 8a014e5 into sindresorhus:main Aug 18, 2022
@qwelias qwelias deleted the tuples branch August 18, 2022 18:46
@sindresorhus
Copy link
Owner

https://github.com/sindresorhus/type-fest/releases/tag/v2.18.1

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

Successfully merging this pull request may close these issues.

None yet

2 participants