#typescript-type-safety

[ follow ]
Node JS
fromInfoQ
1 day ago

AdonisJS v7 Ships End-to-End Type Safety, Reworked Starter Kits and Zero-Config OpenTelemetry

AdonisJS v7 adds end-to-end type safety via codegen, typed routing, serialization, and type-safe API clients, alongside new starter kits and improved observability and docs.
fromjsdevspace.substack.com
2 months ago

Stop Fighting the TypeScript Compiler and Start Writing Safer Code

When you assign the any type to a variable, you're essentially telling the compiler: Stop checking this. I'll handle it myself. At that moment, you've basically turned off TypeScript. Even worse, any tends to spread through a codebase. If a function returns any, every variable that receives that value becomes untyped as well.
Miscellaneous
[ Load more ]