Show HN: ESInfer – Make JavaScript Type-Safe https://ift.tt/o4Q0aOK

Hat hair
0
Show HN: ESInfer – Make JavaScript Type-Safe Hello, folks. I'm Jiang, the author of ESInfer. I love writing Javascript because it has a prosperous ecosystem and is quick to get my hands dirty. However, sometimes it's painful when the flow is not fast to follow due to the lack of a type system. To solve this, I wrote ESInfer, a statical inference tool, to automatically type check and generate type annotations for Javascript. It works with pure Javascript without any add-ons to the language or user-space code and supports highly dynamic features, such as the modification of prototypes. It is still in the very early stage, which offers almost all ES5 features and a select set of ES6 features like array/object destructing. I'm working hard to bring all ES6+ features into it incrementally. If you heavily use javascript/typescript and do NOT want to write the type annotation sh*ts anymore, give it a try :) https://esinfer.com/ October 15, 2022 at 05:33PM

Post a Comment

0Comments

Post a Comment (0)