pretty-ts-errors icon indicating copy to clipboard operation
pretty-ts-errors copied to clipboard

fix: special characters in object literals

Open costamatheus97 opened this issue 1 year ago • 2 comments

Fixes #13

Please let me know if there is any guidelines to follow for contribution @yoavbls

costamatheus97 avatar Apr 17 '23 20:04 costamatheus97

Thank you for opening to fixing this issue and also added a test 😍 I'll take a deep look later today to make sure it isn't causing some other random errors to break thanks!

yoavbls avatar Apr 18 '23 10:04 yoavbls

Done! indeed there was an issue with the regex you mentioned, could fix with the solution you've provided. Had to change the last regex also, by using a negative lookahead to prevent it from adding a code block inside the type error.

Let me know if there is any persisting issues @yoavbls

costamatheus97 avatar Apr 20 '23 15:04 costamatheus97