Skip to content

Commit

Permalink
Add a ts-ignore (#679)
Browse files Browse the repository at this point in the history
* types: add ts-ignore to XMLHttpRequestBodyInit because typedoc does not know it
  • Loading branch information
eyworldwide authored Apr 22, 2022
1 parent e528ee3 commit 470117a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/asset/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ function requestRes<T>(url: string, config: RequestConfig): AssetPromise<T> {
xhr.setRequestHeader(name, headers[name]);
});
}
// @ts-ignore
xhr.send(config.body as XMLHttpRequestBodyInit);
});
}
Expand Down

0 comments on commit 470117a

Please sign in to comment.