Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Now that I think about it, it was probably a Flow[1] file, they look a lot like TypeScript but have a .js extension.

[1] flow.org



Ah, yeah. Flow files do, unfortunately, stick with the .js extension by convention. However, it's still terrible practice to publish a node module that doesn't include a plain JS version of everything.


It was definitely flow. It was the first thing that came to my mind, because I've never seen anyone writing TS in .js files, but I've seen flow in just plain .js files - a lot.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: