jsnes
jsnes copied to clipboard
Add types for exported module
Added a few .d.ts files to describe the types of the exported modules for this project. Resolve Issue 412
@bfirsh I'd really love it if you could take a quick look and give me feedback or merge this change :)
Boom, amazing thank you! I wonder if there is a way to add a simple test to this to ensure they stay in sync? No big deal if it's difficult.
That the types stay in sync with the actual classes that they represent?
Yeah, exactly. I wonder if there's a simple typescript lint or compile command that could run in CI, or something. Not a big deal if it's not simple.
Looks like the build is broken anyway, sigh. (It's also broken on master.)
Looks like the build is broken anyway, sigh. (It's also broken on master.)
Well that's no fun. I just uploaded #415 which should ideally fix the build issue.