DEV Community

Discussion on: Using Typescript without compilation

Collapse
 
jorenbroekema profile image
Joren Broekema
  1. Why is this relevant, what number would satisfy you? I know some of the projects he's on and the amount of files goes into triple digits.
  2. Anyone deploying to production has a Continuous Integration pipeline of some kind set up. Just include a lint step in there that runs tsc --noEmit and it'll error if your types are not correct, and prevent you from releasing it / merging it to main branch.
Collapse
 
ant_f_dev profile image
Anthony Fung

Hi Joren. Thanks for replying.

I asked about the file count because the article includes the line "As someone who maintains many projects at work (some of which are large)..." where "large" is emphasised in italics. That suggests to me that this was significant to the point being discussed, and I wanted to understand this further.

Large is also relative: a large t-shirt bought in one part of the world might be a different size from another large t-shirt bought somewhere else, or even just in a different shop/store.

As you asked, a number that gives me a rough idea of the project size would satisfy me. Saying triple digits also satisfies me and I understand if this is a sensitive or confidential statistic.

This is a new approach to me, and I wanted to learn about the scalability of it. That is all.

Thank you for your note on tsc --noEmit. As mentioned earlier, this is a new approach for me; I asked the question as this information was not discussed in the above article.

Some comments have been hidden by the post's author - find out more