Skip to content

Commit 4d5f2a1

Browse files
authored
Merge pull request #321 from Microsoft/addHeadersToHeadersInit
Add Headers to HeadersInit
2 parents 9ce3973 + e73412a commit 4d5f2a1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

baselines/dom.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15137,7 +15137,7 @@ type MouseWheelEvent = WheelEvent;
1513715137
type ScrollRestoration = "auto" | "manual";
1513815138
type FormDataEntryValue = string | File;
1513915139
type InsertPosition = "beforebegin" | "afterbegin" | "beforeend" | "afterend";
15140-
type HeadersInit = string[][] | { [key: string]: string };
15140+
type HeadersInit = Headers | string[][] | { [key: string]: string };
1514115141
type AppendMode = "segments" | "sequence";
1514215142
type AudioContextState = "suspended" | "running" | "closed";
1514315143
type BiquadFilterType = "lowpass" | "highpass" | "bandpass" | "lowshelf" | "highshelf" | "peaking" | "notch" | "allpass";
@@ -15208,4 +15208,4 @@ type ServiceWorkerState = "installing" | "installed" | "activating" | "activated
1520815208
type Transport = "usb" | "nfc" | "ble";
1520915209
type VideoFacingModeEnum = "user" | "environment" | "left" | "right";
1521015210
type VisibilityState = "hidden" | "visible" | "prerender" | "unloaded";
15211-
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";
15211+
type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";

baselines/webworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,7 @@ type USVString = string;
18901890
type IDBValidKey = number | string | Date | IDBArrayKey;
18911891
type BufferSource = ArrayBuffer | ArrayBufferView;
18921892
type FormDataEntryValue = string | File;
1893-
type HeadersInit = string[][] | { [key: string]: string };
1893+
type HeadersInit = Headers | string[][] | { [key: string]: string };
18941894
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
18951895
type IDBRequestReadyState = "pending" | "done";
18961896
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";

inputfiles/addedTypes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1934,7 +1934,7 @@
19341934
{
19351935
"kind": "typedef",
19361936
"name": "HeadersInit",
1937-
"type": "string[][] | { [key: string]: string }"
1937+
"type": "Headers | string[][] | { [key: string]: string }"
19381938
},
19391939
{
19401940
"kind": "property",

0 commit comments

Comments
 (0)