News for hackers. Stuff that matters.
Re:A SvelteKit template for building CMS-free editable websites by kevinak on Wednesday April 05, 2023 @05:54PM (#35460913)
Rich and I chatted a bit about TS vs JSDoc for library authors today on the monthly dev vlog: https://www.youtube.com/live/MJHO6FSioPI?feature=share&t=95

TL;DR - Svelte's codebase will move to JSDoc types but still use TS.

To be clear - Svelte will still have full support for TS, nothing is changing for users of Svelte.

Re:A SvelteKit template for building CMS-free editable websites by no_wizard on Wednesday April 05, 2023 @10:37PM (#35463429)
Why adopt the inferior way of declaring types?

I just don’t get the issues. TS is great, and generating good types directly from TS is easy with API extractor[0]. It makes it so easy.

The resistance to me from the community boggles me and I’m sad Rich feels this way

[0]: https://api-extractor.com/

Re:A SvelteKit template for building CMS-free editable websites by kevinak on Thursday April 06, 2023 @03:10AM (#35465200)
It's not about generating types though. The reasons are laid out in the video.