Closed danielearwicker closed 7 years ago
This is a great PR, but I'm actually going to convert electron-compile to TypeScript soon, so we're gonna get this for free. I'll merge it in the interim tho!
Awesome, that was going to be my next suggestion! :) By far the best way to ensure correct typings.
Yey, that's great news! :)
Suggestion: include type declarations in the library itself.
These are just a starting point but should be better than nothing - I just worked from what I found in the docs, plus a few other things I clarified from reading the source. A major gap is the type
CompilerBase
which I can't find docs for or a central definition of what it should contain.