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

Skip array escaping if value is an object #71

Closed
oscartbeaumont opened this issue May 1, 2023 · 0 comments
Closed

Skip array escaping if value is an object #71

oscartbeaumont opened this issue May 1, 2023 · 0 comments

Comments

@oscartbeaumont
Copy link
Owner

This is fully a stylistic change.

What is currently ({ name: string; age: number })[] should just be { name: string; age: number }[] instead. We should escape when the type string contains a space but isn't wrapped in curly braces.

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