2 ms·
> I'm convinced that this project has got 2 things absolutely spot on. TypeScript and Worker plugins. Can you explain why TS is spot on?
by mi_lk 6mo ago
> I'm convinced that this project has got 2 things absolutely spot on. TypeScript and Worker plugins.
Can you explain why TS is spot on?
- earthlingdavey 6mo agoThe main thing is unified types. - I've been done GraphQL server with a build step to share types between languages. - I've used untyped JS client side code. Both are prone to bugs, and not much fun. TS for front and back end: sharing types means you'll have editor type hints, catch type errors at lint (or build), and you might even share validation logic between client and browser.