Skip to content

Commit 8f73a21

Browse files
committed
Make HeadersInit use readonly types
1 parent 7baac5e commit 8f73a21

17 files changed

Lines changed: 18 additions & 25 deletions

baselines/dom.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44739,7 +44739,7 @@ type GPUTextureUsageFlags = number;
4473944739
type HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement;
4474044740
type HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement;
4474144741
type HashAlgorithmIdentifier = AlgorithmIdentifier;
44742-
type HeadersInit = [string, string][] | Record<string, string> | Headers;
44742+
type HeadersInit = readonly (readonly [string, string])[] | Readonly<Record<string, string>> | Headers;
4474344743
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
4474444744
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
4474544745
type ImageBufferSource = AllowSharedBufferSource | ReadableStream;

baselines/serviceworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13503,7 +13503,7 @@ type GPUSize64Out = number;
1350313503
type GPUStencilValue = number;
1350413504
type GPUTextureUsageFlags = number;
1350513505
type HashAlgorithmIdentifier = AlgorithmIdentifier;
13506-
type HeadersInit = [string, string][] | Record<string, string> | Headers;
13506+
type HeadersInit = readonly (readonly [string, string])[] | Readonly<Record<string, string>> | Headers;
1350713507
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
1350813508
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
1350913509
type ImageDataArray = Uint8ClampedArray<ArrayBuffer>;

baselines/sharedworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13192,7 +13192,7 @@ type GPUSize64Out = number;
1319213192
type GPUStencilValue = number;
1319313193
type GPUTextureUsageFlags = number;
1319413194
type HashAlgorithmIdentifier = AlgorithmIdentifier;
13195-
type HeadersInit = [string, string][] | Record<string, string> | Headers;
13195+
type HeadersInit = readonly (readonly [string, string])[] | Readonly<Record<string, string>> | Headers;
1319613196
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
1319713197
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
1319813198
type ImageDataArray = Uint8ClampedArray<ArrayBuffer>;

baselines/ts5.5/dom.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44713,7 +44713,7 @@ type GPUTextureUsageFlags = number;
4471344713
type HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement;
4471444714
type HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement;
4471544715
type HashAlgorithmIdentifier = AlgorithmIdentifier;
44716-
type HeadersInit = [string, string][] | Record<string, string> | Headers;
44716+
type HeadersInit = readonly (readonly [string, string])[] | Readonly<Record<string, string>> | Headers;
4471744717
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
4471844718
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
4471944719
type ImageBufferSource = AllowSharedBufferSource | ReadableStream;

baselines/ts5.5/serviceworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13500,7 +13500,7 @@ type GPUSize64Out = number;
1350013500
type GPUStencilValue = number;
1350113501
type GPUTextureUsageFlags = number;
1350213502
type HashAlgorithmIdentifier = AlgorithmIdentifier;
13503-
type HeadersInit = [string, string][] | Record<string, string> | Headers;
13503+
type HeadersInit = readonly (readonly [string, string])[] | Readonly<Record<string, string>> | Headers;
1350413504
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
1350513505
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
1350613506
type ImageDataArray = Uint8ClampedArray;

baselines/ts5.5/sharedworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13189,7 +13189,7 @@ type GPUSize64Out = number;
1318913189
type GPUStencilValue = number;
1319013190
type GPUTextureUsageFlags = number;
1319113191
type HashAlgorithmIdentifier = AlgorithmIdentifier;
13192-
type HeadersInit = [string, string][] | Record<string, string> | Headers;
13192+
type HeadersInit = readonly (readonly [string, string])[] | Readonly<Record<string, string>> | Headers;
1319313193
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
1319413194
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
1319513195
type ImageDataArray = Uint8ClampedArray;

baselines/ts5.5/webworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15314,7 +15314,7 @@ type GPUSize64Out = number;
1531415314
type GPUStencilValue = number;
1531515315
type GPUTextureUsageFlags = number;
1531615316
type HashAlgorithmIdentifier = AlgorithmIdentifier;
15317-
type HeadersInit = [string, string][] | Record<string, string> | Headers;
15317+
type HeadersInit = readonly (readonly [string, string])[] | Readonly<Record<string, string>> | Headers;
1531815318
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
1531915319
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
1532015320
type ImageBufferSource = AllowSharedBufferSource | ReadableStream;

baselines/ts5.6/dom.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44736,7 +44736,7 @@ type GPUTextureUsageFlags = number;
4473644736
type HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement;
4473744737
type HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement;
4473844738
type HashAlgorithmIdentifier = AlgorithmIdentifier;
44739-
type HeadersInit = [string, string][] | Record<string, string> | Headers;
44739+
type HeadersInit = readonly (readonly [string, string])[] | Readonly<Record<string, string>> | Headers;
4474044740
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
4474144741
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
4474244742
type ImageBufferSource = AllowSharedBufferSource | ReadableStream;

baselines/ts5.6/serviceworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13500,7 +13500,7 @@ type GPUSize64Out = number;
1350013500
type GPUStencilValue = number;
1350113501
type GPUTextureUsageFlags = number;
1350213502
type HashAlgorithmIdentifier = AlgorithmIdentifier;
13503-
type HeadersInit = [string, string][] | Record<string, string> | Headers;
13503+
type HeadersInit = readonly (readonly [string, string])[] | Readonly<Record<string, string>> | Headers;
1350413504
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
1350513505
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
1350613506
type ImageDataArray = Uint8ClampedArray;

baselines/ts5.6/sharedworker.generated.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13189,7 +13189,7 @@ type GPUSize64Out = number;
1318913189
type GPUStencilValue = number;
1319013190
type GPUTextureUsageFlags = number;
1319113191
type HashAlgorithmIdentifier = AlgorithmIdentifier;
13192-
type HeadersInit = [string, string][] | Record<string, string> | Headers;
13192+
type HeadersInit = readonly (readonly [string, string])[] | Readonly<Record<string, string>> | Headers;
1319313193
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];
1319413194
type ImageBitmapSource = CanvasImageSource | Blob | ImageData;
1319513195
type ImageDataArray = Uint8ClampedArray;

0 commit comments

Comments
 (0)