RobLoach / node-raylib

Node.js bindings for Raylib
https://robloach.github.io/node-raylib/
Other
242 stars 20 forks source link

Add TypeScript definition file #40

Closed RobLoach closed 5 years ago

RobLoach commented 5 years ago

This adds a TypeScript definition file at index.d.ts to allow TypeScript discovery of the node-raylib API.

While https://github.com/RobLoach/node-raylib/pull/36 is the best solution, this can be an interim fix until we switch completely over to TypeScript.