Address tsc strictness issues
I don't know if these could be an issue with specific version of typescript used to compile things, or potentially local settings.
Clean checkout of the source gives multiple errors when trying to run tsc version 3.9.7. Several of them relate to "implict anys". Do you specify a version of typescript where the current develop should be compilable? The tsconfig.json in the repo has strict on and the default for noImplictAny, which is true. Of course, I can just turn strict off, but that gets rid of a lot of the point of typescript.
I'll produce a pull request to demonstrate a few of these issues.
Thanks so much! I've been tolerating the complaints because I didn't want to forget about them, but either:
a) hadn't gotten around to cleaning them up (e.g. implicit any)
or
b) hadn't figured out how (e.g. setting an index, thanks especially for that, I looked and did not find the solution)
I would welcome as many of these fixes as you want to provide, and am happy to leave your PR open to accumulate more of them.
More broadly, this library is idiosyncratic in various ways that reflect my own needs thus far. I'd be very interested to know how you're using it, and what the library would ideally look like for your needs.
I've finally gotten around to working through the rest of the tsc errors I noticed, and there are more comments in the thread for the pull request #5