yanatan16 / nanoajax

An ajax library you need a microscope to see
MIT License
247 stars 42 forks source link

Add Typescript definition file #16

Closed nathancahill closed 7 years ago

nathancahill commented 8 years ago

I'm using nanoajax in a Typescript project, so I wrote a definition file based on your comments in the source. If you'd rather not have a ts definition in the project, feel free to ignore the PR (I also submitted to DefinitelyTyped: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8312)

yanatan16 commented 8 years ago

@nathancahill Thanks for submitting! I'd love to have some typescript definitions in here. I, in fact, love types (big haskell fan), but haven't used much Typescript.

If you could edit the definition to be fully correct, I'd appreciate it. The following keys also are allowed on the RequestParameters parameters object:

yanatan16 commented 7 years ago

Closing due to inactivity. Reopen if anyone wants to work on this.