3 ms·
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 https:
by kevinak 4y ago
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 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.
- no_wizard 4y agoWhy 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/ https://api-extractor.com/
- kevinak 4y agoIt's not about generating types though. The reasons are laid out in the video.