Skip to content

Commit

Permalink
fix(ts): XMLHttpRequest body type
Browse files Browse the repository at this point in the history
  • Loading branch information
kukhariev committed Feb 24, 2023
1 parent 89632fa commit 288870f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uploadx/lib/ajax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class UploadxAjax {
signal?.removeEventListener('abort', abortListener);
return validateStatus(response.status) ? resolve(response) : reject(response);
};
xhr.send(data);
xhr.send(data as XMLHttpRequestBodyInit);
});
};

Expand Down

0 comments on commit 288870f

Please sign in to comment.