Skip to content

Commit 9504f9e

Browse files
committed
Fix TS 2.3.2 compile error
1 parent c623dfa commit 9504f9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/base/common/network.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export function xhr(options: IXHROptions): TPromise<XMLHttpRequest> {
8888
options.user,
8989
options.password
9090
);
91-
req.responseType = options.responseType || '';
91+
req.responseType = (options.responseType as XMLHttpRequestResponseType) || '';
9292

9393
Object.keys(options.headers || {}).forEach((k) => {
9494
req.setRequestHeader(k, options.headers[k]);

0 commit comments

Comments
 (0)