Closed dchw closed 8 years ago
I like how you cleaned up the code, however there are a few points I like to be addressed:
1 - I'll look at that. I don't think I meant to do that! Sorry, ill clean that up ASAP.
2 - I can totally get behind that. It was turned on so I could locate all potential places where the types were missing and fill them in. I'll remove that as well.
Thanks for your feedback!
I went ahead and modified my .d.ts
to make it match the organization of yours rather than the auto-generated one from tsc
. It makes what changed much more obvious.
When using the library via npm, and if you have the
noImplicitAny
option enabled, you get compiler errors. This should fix that. See attached txt for the errors. noImplicitAnyLog.txtThere were some methods in the
.d.ts
of the package that lacked return type declarations. I added those to the source, and updated the definitions. Also added thenoImplicitAny
option to thetsconfig.json
file, and added a few missing type declarations to the source to tighten things up.The transpiled json output remains the same, since the types are only handled by Typescript anyways.