Post

TIL! How subtle is that, damn. Seems like a good candidate for a lint rule.

conputer dipshit@davidcrespo.bsky.social

learned something new in #TypeScript today. an arrow function is only analyzed as a never-returning call if it has an explicit annotation on the variable name (distinct from a return type on the arrow function) github.com/microsoft/Ty... github.com/microsoft/Ty...

0 reposts0 likes

No replies yet.