Playing: 573: Converting JS to TypeScript
LOUDNESS
Episode 574
|Feb 10th, 2023
Supper Club ร Qwik framework from Miลกko Hevery, the Creator of Angular
Episode 393
|Oct 4th, 2021
Hasty Treat - Spicy Takeout - PHP Is Good and Weโre Just Re-Creating It
Feb 8th, 2023
Converting JS to TypeScript
๐ Download Showโ๏ธ Edit Show NotesIn this episode of Syntax, Wes and Scott talk about their respective processes for converting JavaScript to TypeScript in their projects, why you might want to, and tooling for moving to TypeScript.
Sentry - Sponsor
If you want to know whatโs happening with your code, track errors and monitor performance with Sentry. Sentryโs Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Show Notes
- 00:10 Welcome
- 00:36 Sponsor: Sentry
- 02:23 Electrical updates
- 08:16 Moving to TypeScript
- 09:34 What are you doing with GraphQL?
- GraphQL Codegen
- 11:35 Why move to TypeScript?
- 12:00 Refactoring is easier
- 14:58 Better DX
- 18:42 Adding a tsconfig.json file
- 22:43 Figure out your tooling
- 23:50 Type Checker
- 25:13 MongoDB to TypScript Generator
- 26:44 Eslint-Typescript
- 28:03 Deprank - https://github.com/codemix/deprank
- 28:03 Typesync - https://github.com/jeffijoe/typesync
- Deprank
- 29:18 Refactor and rename to .ts
- 32:40 Typing your code
- 43:04 Utilities and unions
- 46:11 Where do you put your types?
- 49:29 Typing Dependencies
- Definitely Typed
- Raycast Search npm
- 54:26 Global types
- 01:08 Now what?
- 03:58 SIIIIICK รรร PIIIICKS รรร
รรร SIIIIICK รรร PIIIICKS รรร
- Scott: Elegrp USB C Walloutlet
- Wes: Barrina Shop Lights
Shameless Plugs
- Scott: LevelUp Tutorials
- Wes: Wes Bos Tutorials
Tweet us your tasty treats
- Scott's Instagram
- LevelUpTutorials Instagram
- Wes' Instagram
- Wes' Twitter
- Wes' Facebook
- Scott's Twitter
- Make sure to include @SyntaxFM in your tweets