TypeError: Cannot read properties of undefined (reading 'type') #15912
Labels
lang:javascript
Issues affecting JS
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
priority:high
Code is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!
type:bug
Issues identifying ugly output, or a defect in the program
Prettier 3.2.0
Playground link
Input:
Output:
Expected output:
Not exactly sure, it's an error.
Why?
This was not an error in 3.1.x.
The text was updated successfully, but these errors were encountered: