One Thing Nobody Explained To You About TypeScript

https://redd.one/blog/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.

17 points · 1 comments · view on lemmy.world

1 Comments

misterztrite@lemmy.world · 1 pts · 2y

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.