yoavbls / pretty-ts-errors

🔵 Make TypeScript errors prettier and human-readable in VSCode 🎀
https://marketplace.visualstudio.com/items?itemName=yoavbls.pretty-ts-errors
MIT License
13.29k stars 89 forks source link

Cannot distinguish the difference between multiple uses of a single quote. #20

Closed martmalo closed 1 year ago

martmalo commented 1 year ago

Method's 'this' got read incorrectly. Probably, incorrect use of ' or ".

image
yoavbls commented 1 year ago

I think that this regex (in the picture) is causing it, https://github.com/yoavbls/pretty-ts-errors/pull/17/files#r1170667292 I'll check if it is resolved when we'll merge a fix. Until then, can you put here the plain error so I can test it?

yoavbls commented 1 year ago

v0.3.0 with the fix is out! You can update now 🙂