Syntax - Tasty Web Development Treats
Technology
In this episode of Syntax, Wes and Scott use the fact that Svelte is being converted from TypeScript to JavaScript with JSDoc to talk about the benefits of working that way, why they are doing it, and what you can do with JSDoc that TypeScript alone doesn’t let you do.
Show Notes00:10 Welcome
01:12 Roof update
02:15 TypeScript haters need not apply
03:17 What is JSDoc?
04:27 What is our history with JSDoc?
06:37 Why is Svelte moving to JSDoc?
08:11 Why is JSDoc better than TypeScript?
12:31 You can type things you can’t in TypeScript
16:37 Param, Function and returns Descriptions
21:32 Spoiler - it’s still TypeScript
33:23 SIIIIICK ××× PIIIICKS ×××
Get Started With TypeScript the Easy Way
TypeScript without TypeScript – JSDoc superpowers
TypeScript: Documentation - JSDoc Reference
Dev Vlog: April 2023 - TypeScript vs JSDoc, Transitions API, Dominic Gannaway joins Svelte team
Svelte repo is finally being converted from Typescript to Javascript with JSDoc
If you are on a JS project and are missing the TypeScript hinting in your editor, you can still type your code with JSDoc syntax comments and VS Code will detect and use it!
Sprinkle in a little JSDoc on top of your TypeScript when needed - helpful to adding descriptions to returned values, or marking things as deprecated
TypeScript to JSDoc
768: React 19 is here!
767: Local First and TypeScript’s Missing Library with Johannes Schickling
766: React Server Components: Form Actions + Server Actions
765: JS Promises Fundamentals - Part 1
764: Biome JS with Emanuele Stoppa
763: Web Scraping + Reverse Engineering APIs
762: What to Steal. Finding Inspiration in Web Development
761: Cloudflare Analytics Engine, Workers + more with Ben Vinegar
760: Pro VSCode Setups
759: How to Easily Explore Coding Ideas
758: Web Awesome with Konnor Rogers + Cory LaViska
757: Potluck: Is Gatsby Dead? Shadow Dom, AI Summaries, Self Hosting + More
756: CSS Is Getting Mixins + Functions
755: Chrome Extensions and Ad Blockers VS Google with Oliver Dunk
754: How to Level Up Your Web Development Career
753: Cache Ruins Everything Around Me
752: React vs Vue vs Angular with Corbin Crutchley
751: UI Components: ShadCN, Tailwind UI, Headless, React Aria, Radix UI
750: New CSS and JavaScript You Should Be Using
749: Coding Shopify with Anne and Trudy of Design Packs
Create your
podcast in
minutes
It is Free
Insight Story: Tech Trends Unpacked
Zero-Shot
Fast Forward by Tomorrow Unlocked: Tech past, tech future
The Unbelivable Truth - Series 1 - 26 including specials and pilot
A Prairie Home Companion: News from Lake Wobegon