aurelia / http-client

A simple, restful, message-based wrapper around XMLHttpRequest.
MIT License
62 stars 59 forks source link

typescript definition file has "undefined" as return type instead of "void" #85

Closed sujesharukil closed 9 years ago

sujesharukil commented 9 years ago

The typescript definition file has abort() and send(content) return "undefined" as a type instead of "void" [line 17 and 18]. This is causing an issue with the typescript compiler.

bryanrsmith commented 9 years ago

This was a bug in the tool we use to generate the .d.ts files. It's since been fixed, and the definition file will be updating as part of the next release.