#Typescript or Javascript

4 messages · Page 1 of 1 (latest)

pearl spade
#

Hi guys,
For those of you who use the Discord library, is it more comfortable to program with JS or TS? The truth is that I'm looking at the documentation, but I see that it's more focused on JS.
Let me know.
Regards.

vale palm
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

timid latch
#

i'm biased since i only use ts and would never use js, but discord.js typings are great and never ran into any issues. i would personally recommend using it with ts if you are comfortable with it

neat cobalt
#

honestly ts is sometimes a lifesaver, sometimes a handicap
it’s types are compile time only which severely limits the capabilities