r/AskProgrammers • u/alpha_and_omega77 • 4d ago
What is correct way to use typescript?
So recently I read somewhere that typescript sucks because you need to write :any over and over again, and someone responded that if you are using type any then you aren't using typescript correctly in the first place.
I just know syntax and so far only used typescript mainly for DOM manipulation. What is that "correct" way? If you have been using ts for a long time, can you share your tips and advices?