We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2f464e commit 272597fCopy full SHA for 272597f
apps/tests/xhr-tests.ts
@@ -134,7 +134,7 @@ export var test_XMLHttpRequest_FormDataContentSentAndReceivedProperly = function
134
data.append("MyVariableOne", "ValueOne");
135
data.append("MyVariableTwo", "ValueTwo");
136
137
- xhr.send(<any>data);
+ xhr.send(data);
138
};
139
140
export var test_XMLHttpRequest_abortShouldCancelonreadystatechange = function (done) {
declarations.d.ts
@@ -1,4 +1,8 @@
1
/* tslint:disable:no-unused-variable */
2
+interface XMLHttpRequest extends EventTarget, XMLHttpRequestEventTarget {
3
+ send(data?: FormData): void;
4
+}
5
+
6
interface Console {
7
time(reportName: string): void;
8
timeEnd(reportName: string): void;
0 commit comments