-
-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
Prettier just released a new major version which includes some breaking changes to the API. Currently Prettier 3.0 causes the extension to throw a type error:
Error: Expected `input` to be a `string`, got `object`
TypeError: Expected `input` to be a `string`, got `object`
I haven't looked into the source code for Prettier or this extension for a while so I don't know how difficult of a fix this is.
If anyone is having this same issue, the short term solution is to explicitly install a version of prettier before 3.0.
npm i -D [email protected]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels