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

  • misterztrite@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    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.