this post was submitted on 22 Sep 2023
17 points (100.0% liked)

TypeScript

823 readers
1 users here now

founded 1 year ago
MODERATORS
 

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

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago

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.