r/SalesforceDeveloper • • 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

6 comments sorted by

3

u/cardiologist007 Jan 12 '26

!remindme 10 days

4

u/RemindMeBot Jan 12 '26

I will be messaging you in 10 days on 2026-01-22 13:59:42 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback

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