提交 9f15e036 编写于 作者: B Benjamin Pasero

fix compile error

上级 a5d90e09
......@@ -88,7 +88,7 @@ export function xhr(options: IXHROptions): TPromise<XMLHttpRequest> {
options.user,
options.password
);
req.responseType = (options.responseType as XMLHttpRequestResponseType) || '';
req.responseType = options.responseType as any || '';
Object.keys(options.headers || {}).forEach((k) => {
req.setRequestHeader(k, options.headers[k]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册