Mastodon Feed: Post

Mastodon Feed

NfNitLoop ("Cody Casterline 🏳️‍🌈") wrote:

Most of my recent #TypeScript experience has been with #Deno where handling of TypeScript/types is built-in to the runtime itself.

But now that I'm delving into NodeJS-centric ecosystem a bit more, I am *constantly* surprised at how loosely people will use the term "type-safe".

In that realm, "type-safe" apparently means… has some types. But it doesn't mean the types are accurate, useful, or even validated at runtime.

The number of <T = any> generic params I've seen is … disappointing.