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

fix: 🚨 prettier.doc.builders.concat now it`s removed in Prettier v2.3.0, use arrays instead of concat #111

Closed
wants to merge 1 commit into from

Conversation

olexanderoff
Copy link

To simplify the code of AST printers, the data structure for the concatenation command has been changed from { type: 'concat', parts: Doc[] } to Doc[]. See prettier/prettier#13142 and prettier/prettier#13203

fixed issue #110 with error - InvalidDocsError: Unexpected doc.type 'concat'

….0, use arrays instead of concat

To simplify the code of AST printers, the data structure for the concatenation command has been changed from { type: 'concat', parts: Doc[] } to Doc[]. See prettier/prettier#13142 and prettier/prettier#13203

fixed issue #110 with error - InvalidDocsError: Unexpected doc.type 'concat'
@olexanderoff olexanderoff closed this by deleting the head repository Jan 7, 2024
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.

1 participant