unjs/magicast

Support satisfies keyword

thdxr opened this issue · 3 comments

thdxr commented

Describe the feature

Looks like it throws an error when it encounters the satisfies keyword currently

can probably just ignore it for now would unblock me

Additional information

  • Would you be willing to help implement this feature?
antfu commented

Upstream issue: benjamn/recast#1281

Try npm i recast@next? benjamn/recast#1281 (comment)

I'm not sure what's exactly the difference but it seems that perhaps this issue here wasn't exactly blocked by recast. I opened a PR with a fix and some basic tests without updating recast: #55