One Thing Nobody Explained To You About TypeScript

Open link in next tab

One Thing Nobody Explained To You About TypeScript

https://redd.one/blog/one-thing-nobody-explained-to-you-about-typescript

One of the most common mistakes in configuring TypeScript.

One Thing Nobody Explained To You About TypeScript

Click bait title, but this post goes into depth about using tsconfig.json correctly and across different layers of your project.

Sign in to add comment

I think correctly is debatable. I like my spec files next to my source files. You can still use multiple tsconfig.json files in the same directory.

Yeah the article use .test.ts and not .spec.ts but they seem to be the same.