meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

Is JSDoc Better than TypeScript?

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, Technology, News

4.91.2K Ratings

🗓️ 7 June 2023

⏱️ 43 minutes

🧾️ Download transcript

Summary

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 Notes 00: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 ××× SIIIIICK ××× PIIIICKS ××× Scott: Watch MerPeople | Netflix Official Site Wes: 18V ONE+ 45W HYBRID SOLDERING STATION (TOOL ONLY) | RYOBI Tools Shameless Plugs Scott: Sentry 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 Wes Bos on Bluesky Scott on Bluesky Syntax on Bluesky

Transcript

Click on a timestamp to play from that location

0:00.0

You're listening to syntax, the podcast with the tastiest web development treats out there.

0:06.1

Strap yourself in and get ready.

0:08.0

Here is Scott Tolesky and West Boss.

0:10.6

Welcome to syntax, the podcast with the tastiest web development treats.

0:14.6

Today, we've got to show that I've actually been keeping notes on for probably a year now.

0:19.1

And it is TypeScript via JS doc or typing your code in JS doc.

0:28.3

Instead of using TypeScript.

0:30.5

And I've been keeping notes on it.

0:32.8

I've got some really good blog posts.

0:34.0

I'm going to call those out right away.

0:35.5

Go to the show notes and take a look at the blog posts that are in there.

0:39.3

However, it popped up a couple days ago that's felt is converting its entire code base

0:46.2

away from TypeScript into JS doc.

0:50.2

And people started freaking out about this.

0:52.9

It sounds much worse than it actually is.

0:56.2

And we are here today to explain to you what JS doc is,

1:01.2

why you can still do almost everything in JS doc,

1:06.0

why you can still use TypeScript with Svelth,

1:08.3

all of that good type of stuff.

1:10.3

This is not a Svelth show,

1:12.0

or we're just specifically talking about JS doc in TypeScript.

1:16.6

How you doing today, Scott?

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2026.