Skip to content

Commit 694dc0e

Browse files
committed
Fix #225: Incompatible FormData constructor between W3C specs
1 parent c25ed6b commit 694dc0e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/lib/dom.generated.d.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -1865,6 +1865,14 @@ declare var Window: {
18651865
new(): Window;
18661866
}
18671867

1868+
interface FormData {
1869+
append(name: any, value: any, blobName?: string): void;
1870+
}
1871+
declare var FormData: {
1872+
prototype: FormData;
1873+
new (form?:HTMLFormElement): FormData;
1874+
}
1875+
18681876
interface NavigatorID {
18691877
appVersion: string;
18701878
appName: string;
@@ -10196,14 +10204,6 @@ declare var MSManipulationEvent: {
1019610204
MS_MANIPULATION_STATE_CANCELLED: number;
1019710205
}
1019810206

10199-
interface FormData {
10200-
append(name: any, value: any, blobName?: string): void;
10201-
}
10202-
declare var FormData: {
10203-
prototype: FormData;
10204-
new(): FormData;
10205-
}
10206-
1020710207
interface HTMLDataListElement extends HTMLElement {
1020810208
options: HTMLCollection;
1020910209
}

0 commit comments

Comments
 (0)