README.md
TypeScript Errors<b>Make TypeScript errors prettier and human-readable in VSCode.</b>
<a href="https://github.com/yoavbls/pretty-ts-errors/discussions/43#user-content-jetbrains-support"></a>
TypeScript errors become messier as the complexity of types increases. At some point, TypeScript will throw on you a shitty heap of parentheses and "...".
This extension will help you understand what's going on. For example, in this relatively simple error:
and others from: Web Dev Simplified, Josh tried coding, trash dev, and more
.ts files).js and .jsx files).tsx and .mdx files).astro, .svelte and .vue files).hbs, .gjs, and .gts files)code --install-extension yoavbls.pretty-ts-errors
Or simply by searching for pretty-ts-errors in the VSCode marketplace
Follow the instructions there. unfortunately, this hack is required because of VSCode limitations.
... more ..., { ... }, etc in an inconsistent manner. Some are also cutting in the middle because they're too long.type X = ... is missing, so I needed to create a new TextMate grammar, a superset of TypeScript grammar called type. Kent C. Dodds
<a/>
</td>
<td align="center">
<a href="https://github.com/mattpocock">
Matt Pocock
<a/>
</td>
<td align="center">
<a href="https://github.com/katt">
Alex / KATT
<a/>
</td>
<td align="center">
<a href="https://github.com/tannerlinsley">
Tanner Linsley
<a/>
</td>
<td align="center">
<a href="https://github.com/t3dotgg">
Theo Browne
<a/>
</td>
</tr>
Every penny will be invested in other contributors to the project, especially ones that work on things that I can't be doing myself like adding support to the extension for other IDEs 🫂
Help by upvoting or commenting on issues we need to be resolved here Any other contribution is welcome. Feel free to open any issue / PR you think.