We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The types include this definition:
// Truncated for brevity export interface FetchMock { (input?: string | Request, init?: RequestInit): Promise<Response>; }
but in the spec, input cannot be undefined.
input
In Chrome, fetch() (invoked without arguments) produces a TypeError:
fetch()
TypeError
Failed to execute 'fetch' on 'Window': 1 argument required, but only 0 present.
The text was updated successfully, but these errors were encountered:
I took a pass at resolving this in #207, I've not contributed to this project before so please let me know what I can do to help 😄
Sorry, something went wrong.
No branches or pull requests
The types include this definition:
but in the spec,
input
cannot be undefined.In Chrome,
fetch()
(invoked without arguments) produces aTypeError
:The text was updated successfully, but these errors were encountered: