Support responseType property on XMLHttpRequest.

Only default, "" and "text" supported for now. Raising an error otherwise.
This commit is contained in:
Hristo Deshev
2015-06-15 15:25:43 +03:00
parent f109cbe80b
commit 51a56a2aea
3 changed files with 27 additions and 0 deletions

1
declarations.d.ts vendored
View File

@ -37,6 +37,7 @@ declare class XMLHttpRequest {
overrideMimeType(mime: string): void;
readyState: number;
responseText: string;
responseType: string;
status: number;
onload: () => void;