-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HttpProvider should throw an error if it receives an invalid error #107
Comments
You shouldn't be able to use an object as URL if you're using TypeScript. Do you mean implementing actual runtime input validation? |
Atom
The types are included in the project right?
If it’s my IDE that is badly configured then feel free to close the issue.
|
The types are included in the published version and it works fine for me on IntelliJ IDEA, so it seems like it's an issue with your IDE. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently I can pass an object to HttpProvider which creates a cryptic error:
t.reduce is not a function
I expect the provider to fail if it receives and invalid url string.
The text was updated successfully, but these errors were encountered: