β οΈ This post links to an external website. β οΈ
I never felt confident about my
tsconfig.json. To change that, I went through the official documentation, collected all common options, and documented them in this blog post:
This knowledge will enable you to write a
tsconfig.jsonthat is cleaner and that youβll fully understand.If you donβt have the time to read the post, you can jump to the summary at the end where I show the
tsconfig.jsonthat I use now β along with recommendations for adapting it to different use cases (npm package, app, etc.).I also link to the
tsconfig.jsonrecommendations by several well-known TypeScript programmers. (I went through them when I researched this post.)Iβm curious what your experiences with
tsconfig.jsonare: Do you agree with my choices?
continue reading on 2ality.com
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.