Title: Common mistakes learning TypeScript
Hey guys, I'm looking to hear from those who've dived into TypeScript. I've been learning it for a while now and I've noticed some common traps that trip even experienced devs up - like assuming types are only for function params, or not knowing when to use classes vs interfaces. What are some mistakes you've seen newbies (or not-so-newbies) make when learning TS?
Hey guys, I'm looking to hear from those who've dived into TypeScript. I've been learning it for a while now and I've noticed some common traps that trip even experienced devs up - like assuming types are only for function params, or not knowing when to use classes vs interfaces. What are some mistakes you've seen newbies (or not-so-newbies) make when learning TS?