Skip to content

Commit

Permalink
Fix ResponseHandler args type
Browse files Browse the repository at this point in the history
  • Loading branch information
happycollision committed Jul 18, 2019
1 parent 3b54218 commit e52043e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ interface ExtraRequestData {
queryParams: QueryParams;
}
export type ResponseHandler = (
request: FakeXMLHttpRequest | ExtraRequestData
request: FakeXMLHttpRequest & ExtraRequestData
) => ResponseData | PromiseLike<ResponseData>;

export default Server;

0 comments on commit e52043e

Please sign in to comment.