Skip to content

Commit

Permalink
types warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Mar 21, 2020
1 parent 9af0526 commit 9ab9dc6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/fetch-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ FetchMock.fetchHandler = function(url, options, request) {
debug(
'Need to wait for Body to be streamed before calling router: switching to async mode'
);
console.log('lalal');
return this._asyncFetchHandler(url, options, request, signal);
}
return this._fetchHandler(url, options, request, signal);
Expand Down
7 changes: 7 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
// Colin Doig <https://github.com/captain-igloo>
// Felix Chen <https://github.com/ChenNima>
// Katsuya Hino <https://github.com/dobogo>
//
// Please note that I - wheresrys - don't use Typescript
// These types have ben copied in here as a convenience for (some of)
// fetch-mock's users
// If you are a Typescript user and find a problem in these types, please
// submit a PR
//
// TypeScript Version: 2.2

declare namespace fetchMock {
Expand Down

0 comments on commit 9ab9dc6

Please sign in to comment.