Svelte is migrating from TypeScript to JSDoc

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Svelte

    web development for the rest of us

    Svelte will still provide type definitions. We're working on Svelte 4 currently and are taking the opportunity to make a few small breaking changes to the type definitions for improved TypeScript support: https://github.com/sveltejs/svelte/blob/version-4/CHANGELOG....

    We'll cut a preview release soon and would love help testing and feedback from folks that have given it a try.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • closure-compiler

    A JavaScript checker and optimizer.

    10 years ago I have used Closure compiler from Google, https://github.com/google/closure-compiler/wiki/Annotating-T... , as a type checker. We had to use for production a different minimizer, not the closure compiler, but it was extremely useful to check for types and JSDoc-style annotations were very readable with minimal distraction.

    Flow for JS from Facebook also supports types-as-comments, https://flow.org/en/docs/types/comments/ , but those are rather ugly as one has to intermix them with JS rather than using separated comment block on top.

  • esno

    Alias to `tsx`

    I’ve generally found tsx to be better/less hassle than ts-node

    https://github.com/esbuild-kit/tsx

  • proposal-type-annotations

    ECMAScript proposal for type syntax that is erased - Stage 1

    This is great but -if I dare - wouldn't it be time to allow js to have type annotations [1] ? As in python, treat it as comments for now but with real syntax and let interesting dialects emerge from the consensus ? I like jsdoc but the syntax is urgh.

    [1] https://github.com/tc39/proposal-type-annotations

  • abstract-state-router

    The best way to structure a single-page webapp.

    I'm still using https://github.com/TehShrike/abstract-state-router which I wrote years ago after thinking "ui-router is great, but I need a version that can keep using no matter what component library I want to use in the future"

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Svelte Series-1: An awesome framework

    6 projects | dev.to | 15 May 2024
  • Svelte 5 is going to be radical

    2 projects | news.ycombinator.com | 8 Aug 2023
  • Foundry System/Plugin Development with TypeScript and Svelte

    3 projects | /r/FoundryVTT | 5 Oct 2022
  • JavaScript SVG diagram editor 3.9 KB (open source library)

    4 projects | dev.to | 4 Feb 2022
  • Form Validation in Remix with Zod 🔐

    2 projects | dev.to | 9 Jan 2025

Did you konow that TypeScript is
the 1st most popular programming language
based on number of metions?