Re:TIL: `satisfies` is my favorite TypeScript keyword
by fenomas on Saturday November 22, 2025 @10:17PM
(#46020444)
Uh, among several other issues with this, what use are JSDoc comments for typing, without typescript to check them?
Re:TIL: `satisfies` is my favorite TypeScript keyword
by locknitpicker on Sunday November 23, 2025 @03:08AM
(#46021676)
> typescript is largely a result of solving a non-existent problem.
Claiming that lack of static type checking is a non-existent problem is quite a bold claim. Care to offer some details to substantiate your claim?
Rich Hickey in 10 Years of Clojure & Maybe Not then the Value of Values - lays this out - though not meant at typescript but static types in general.
the thing most people don't have proper Javascript fundamentals.
Function signatures: JSDoc works
Most types - use Maps | Arrays
if a value doesn't exist in a map we can ignore it. There's also the safe navigation operator.
Instead of mutable objects - there's ways around this too. Negating types again.