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

TypeScript type being removed in output when using object destructuring #183

Closed
incleaf opened this issue Sep 19, 2023 · 2 comments
Closed
Labels
bug Something isn't working printer typescript

Comments

@incleaf
Copy link

incleaf commented Sep 19, 2023

image

Here's a snippet of reproducible codes

@coderaiser coderaiser added printer bug Something isn't working labels Sep 19, 2023
@coderaiser
Copy link
Owner

Thanks! Just landed support of typeAnnotations to ObjectPattern in @putout/printer v5.2.0 🎉 .

Please re-install 🐊Putout, is it works for you?

@incleaf
Copy link
Author

incleaf commented Sep 19, 2023

Works like a charm! Thank you for such a quick fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working printer typescript
Projects
None yet
Development

No branches or pull requests

2 participants