Reon90 / glfwJS

The N-API bindings for GLFW

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide TypeScript definitions file for ease of use

J-Cake opened this issue · comments

I came across this project through the official glfw website and was hoping to use it, but as no typescript definitions exist, this is a little bit more difficult. I'm wondering if there's gonna be some way to generate this quickly. I happened to notice the /include/ast/glfw3.xml file and was wondering if this could be used. Similarly the .h file could be used for this, but I'm not sure how this would be done. Otherwise, the library works great and is very on-par with the C++ docs. Thank you for this.

@J-Cake I will provide the ts types as soon as possible. Thank you.

Ah you're a legend, thanks so much

TypeScript definitions file was added.

Awesome thanks so much !!!