Question about developing in TypeScript

My bot which is used by 10,000 members is fully written in Sapphire for JavaScript. I was thinking about converting it to TypeScript to make the code better, and safer. I wanted to ask, from your experience, does using TypeScript make a difference in how you code? does it make a difference in the performance? Is it worth it? Cheers!
4 Replies
Lioness100
Lioness100•8mo ago
Yes, Typescript for me is a life saver! I no longer have to keep the structure of my entire application in my head and at the whims of my memory, + it makes me think harder about how i design things which makes them more scalable in the long term By structure I mean what x function expects and returns, what properties are on y, what parameters are in z callback, etc Not sure what you mean about performance. Obviously it adds a build step, but it's just a few seconds
Unknown User
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
./Ticker
./TickerOP•8mo ago
I am thinking of switching, i know now what I'm going to do my weekend 😀
Unknown User
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server