elysiajs/elysia
View on GitHub ↗ ★ 19,344 TypeScript
Ergonomic Framework for Humans
4 mentions on Hacker News by 3 people: 2 stories, 2 comments · first 2025-03-22 · latest 2025-10-25
20082026
-
Yep, I sent one in another comment https://github.com/elysiajs/elysia/blob/94abb3c95e53e2a77078... This is not the easiest to follow code, but it's very similar to what you'd find in any fluent web router, the idea is that you have say an…
comment by mpeg · 2025-10-25 · in Unconventional Ways to Cast in TypeScript -
…welcome to prove me wrong! To give you an example from a popular open source ts-heavy project: https://github.com/elysiajs/elysia/blob/94abb3c95e53e2a77078... The `return this as any` there, which effectively casts it to the same type this…
comment by mpeg · 2025-10-23 · in Unconventional Ways to Cast in TypeScript