Skip to content

Commit 86cee06

Browse files
committed
Add typedef for FormDataEntryValue
1 parent 2e50da8 commit 86cee06

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

baselines/dom.generated.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14945,4 +14945,5 @@ type ScrollLogicalPosition = "start" | "center" | "end" | "nearest";
1494514945
type IDBValidKey = number | string | Date | IDBArrayKey;
1494614946
type BufferSource = ArrayBuffer | ArrayBufferView;
1494714947
type MouseWheelEvent = WheelEvent;
14948-
type ScrollRestoration = "auto" | "manual";
14948+
type ScrollRestoration = "auto" | "manual";
14949+
type FormDataEntryValue = string | File;

baselines/webworker.generated.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1745,4 +1745,5 @@ type IDBKeyPath = string;
17451745
type RequestInfo = Request | string;
17461746
type USVString = string;
17471747
type IDBValidKey = number | string | Date | IDBArrayKey;
1748-
type BufferSource = ArrayBuffer | ArrayBufferView;
1748+
type BufferSource = ArrayBuffer | ArrayBufferView;
1749+
type FormDataEntryValue = string | File;

inputfiles/addedTypes.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,6 +1535,11 @@
15351535
"flavor": "DOM",
15361536
"signatures": ["getElementById(elementId: string): HTMLElement | null"]
15371537
},
1538+
{
1539+
"kind": "typedef",
1540+
"name": "FormDataEntryValue",
1541+
"type": "string | File"
1542+
},
15381543
{
15391544
"kind": "method",
15401545
"interface": "FormData",

0 commit comments

Comments
 (0)