pretty-ts-errors
pretty-ts-errors copied to clipboard
fix: special characters in object literals
Fixes #13
Please let me know if there is any guidelines to follow for contribution @yoavbls
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!
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