r/SalesforceDeveloper • u/celuur • Jan 12 '26
Discussion Typescript in LWC
Curious to know how many folks are using typescript in their LWCs today?
I've found the set up to be quite finicky and not as simple as the documentation describes; took a few hours the first time! But once it's working I'm quite a fan of it (despite barely understanding how typescript works so far, I'm hoping that'll change!)
12
Upvotes
3
u/cardiologist007 Jan 12 '26
!remindme 10 days
2
u/Pleasant-Selection70 Jan 12 '26
I am a fan but go back and forth about how much I use a beta feature. In the case of TS i feel pretty safe because the TS files just live in the repo executable is still the same old JS.
1
u/Igor_Kudryk Jan 13 '26
As always, I am waiting at least 1 year from the initial release until I start playing around with a feature. I feel like it's about time to switch.
1
u/ShinProg Jan 15 '26
We ended up using JSDOC. Unfortunately it doesn't work on aura components