@types/web 0.0.155 → 0.0.157

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
47
47
 
48
48
  ## Deploy Metadata
49
49
 
50
- You can read what changed in version 0.0.155 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.155.
50
+ You can read what changed in version 0.0.157 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.157.
package/index.d.ts CHANGED
@@ -10,6 +10,19 @@ interface AddEventListenerOptions extends EventListenerOptions {
10
10
  signal?: AbortSignal;
11
11
  }
12
12
 
13
+ interface AddressErrors {
14
+ addressLine?: string;
15
+ city?: string;
16
+ country?: string;
17
+ dependentLocality?: string;
18
+ organization?: string;
19
+ phone?: string;
20
+ postalCode?: string;
21
+ recipient?: string;
22
+ region?: string;
23
+ sortingCode?: string;
24
+ }
25
+
13
26
  interface AesCbcParams extends Algorithm {
14
27
  iv: BufferSource;
15
28
  }
@@ -1093,6 +1106,12 @@ interface PannerOptions extends AudioNodeOptions {
1093
1106
  rolloffFactor?: number;
1094
1107
  }
1095
1108
 
1109
+ interface PayerErrors {
1110
+ email?: string;
1111
+ name?: string;
1112
+ phone?: string;
1113
+ }
1114
+
1096
1115
  interface PaymentCurrencyAmount {
1097
1116
  currency: string;
1098
1117
  value: string;
@@ -1101,6 +1120,7 @@ interface PaymentCurrencyAmount {
1101
1120
  interface PaymentDetailsBase {
1102
1121
  displayItems?: PaymentItem[];
1103
1122
  modifiers?: PaymentDetailsModifier[];
1123
+ shippingOptions?: PaymentShippingOption[];
1104
1124
  }
1105
1125
 
1106
1126
  interface PaymentDetailsInit extends PaymentDetailsBase {
@@ -1116,7 +1136,9 @@ interface PaymentDetailsModifier {
1116
1136
  }
1117
1137
 
1118
1138
  interface PaymentDetailsUpdate extends PaymentDetailsBase {
1139
+ error?: string;
1119
1140
  paymentMethodErrors?: any;
1141
+ shippingAddressErrors?: AddressErrors;
1120
1142
  total?: PaymentItem;
1121
1143
  }
1122
1144
 
@@ -1136,12 +1158,28 @@ interface PaymentMethodData {
1136
1158
  supportedMethods: string;
1137
1159
  }
1138
1160
 
1161
+ interface PaymentOptions {
1162
+ requestPayerEmail?: boolean;
1163
+ requestPayerName?: boolean;
1164
+ requestPayerPhone?: boolean;
1165
+ requestShipping?: boolean;
1166
+ shippingType?: PaymentShippingType;
1167
+ }
1168
+
1139
1169
  interface PaymentRequestUpdateEventInit extends EventInit {
1140
1170
  }
1141
1171
 
1172
+ interface PaymentShippingOption {
1173
+ amount: PaymentCurrencyAmount;
1174
+ id: string;
1175
+ label: string;
1176
+ selected?: boolean;
1177
+ }
1178
+
1142
1179
  interface PaymentValidationErrors {
1143
1180
  error?: string;
1144
- paymentMethod?: any;
1181
+ payer?: PayerErrors;
1182
+ shippingAddress?: AddressErrors;
1145
1183
  }
1146
1184
 
1147
1185
  interface Pbkdf2Params extends Algorithm {
@@ -1191,6 +1229,8 @@ interface PlaneLayout {
1191
1229
  }
1192
1230
 
1193
1231
  interface PointerEventInit extends MouseEventInit {
1232
+ altitudeAngle?: number;
1233
+ azimuthAngle?: number;
1194
1234
  coalescedEvents?: PointerEvent[];
1195
1235
  height?: number;
1196
1236
  isPrimary?: boolean;
@@ -3420,7 +3460,7 @@ interface CSSImportRule extends CSSRule {
3420
3460
  readonly layerName: string | null;
3421
3461
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media) */
3422
3462
  readonly media: MediaList;
3423
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/stylesheet) */
3463
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) */
3424
3464
  readonly styleSheet: CSSStyleSheet | null;
3425
3465
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/supportsText) */
3426
3466
  readonly supportsText: string | null;
@@ -3713,7 +3753,7 @@ declare var CSSPerspective: {
3713
3753
  interface CSSPropertyRule extends CSSRule {
3714
3754
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/inherits) */
3715
3755
  readonly inherits: boolean;
3716
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialvalue) */
3756
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue) */
3717
3757
  readonly initialValue: string | null;
3718
3758
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/name) */
3719
3759
  readonly name: string;
@@ -4172,11 +4212,13 @@ interface CSSStyleDeclaration {
4172
4212
  cx: string;
4173
4213
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cy) */
4174
4214
  cy: string;
4215
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/d) */
4175
4216
  d: string;
4176
4217
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/direction) */
4177
4218
  direction: string;
4178
4219
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/display) */
4179
4220
  display: string;
4221
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) */
4180
4222
  dominantBaseline: string;
4181
4223
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */
4182
4224
  emptyCells: string;
@@ -4371,9 +4413,13 @@ interface CSSStyleDeclaration {
4371
4413
  marginRight: string;
4372
4414
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-top) */
4373
4415
  marginTop: string;
4416
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker) */
4374
4417
  marker: string;
4418
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-end) */
4375
4419
  markerEnd: string;
4420
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-mid) */
4376
4421
  markerMid: string;
4422
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-start) */
4377
4423
  markerStart: string;
4378
4424
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask) */
4379
4425
  mask: string;
@@ -4613,6 +4659,7 @@ interface CSSStyleDeclaration {
4613
4659
  stopColor: string;
4614
4660
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stop-opacity) */
4615
4661
  stopOpacity: string;
4662
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke) */
4616
4663
  stroke: string;
4617
4664
  strokeDasharray: string;
4618
4665
  strokeDashoffset: string;
@@ -4705,6 +4752,7 @@ interface CSSStyleDeclaration {
4705
4752
  unicodeBidi: string;
4706
4753
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/user-select) */
4707
4754
  userSelect: string;
4755
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vector-effect) */
4708
4756
  vectorEffect: string;
4709
4757
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
4710
4758
  verticalAlign: string;
@@ -8722,7 +8770,7 @@ interface FontFace {
8722
8770
 
8723
8771
  declare var FontFace: {
8724
8772
  prototype: FontFace;
8725
- new(family: string, source: string | BinaryData, descriptors?: FontFaceDescriptors): FontFace;
8773
+ new(family: string, source: string | BufferSource, descriptors?: FontFaceDescriptors): FontFace;
8726
8774
  };
8727
8775
 
8728
8776
  interface FontFaceSetEventMap {
@@ -13982,7 +14030,7 @@ interface IDBTransaction extends EventTarget {
13982
14030
  /**
13983
14031
  * Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database.
13984
14032
  *
13985
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames)
14033
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
13986
14034
  */
13987
14035
  readonly objectStoreNames: DOMStringList;
13988
14036
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
@@ -16733,6 +16781,37 @@ declare var Path2D: {
16733
16781
  new(path?: Path2D | string): Path2D;
16734
16782
  };
16735
16783
 
16784
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress) */
16785
+ interface PaymentAddress {
16786
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/addressLine) */
16787
+ readonly addressLine: ReadonlyArray<string>;
16788
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/city) */
16789
+ readonly city: string;
16790
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/country) */
16791
+ readonly country: string;
16792
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/dependentLocality) */
16793
+ readonly dependentLocality: string;
16794
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/organization) */
16795
+ readonly organization: string;
16796
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/phone) */
16797
+ readonly phone: string;
16798
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/postalCode) */
16799
+ readonly postalCode: string;
16800
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/recipient) */
16801
+ readonly recipient: string;
16802
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/region) */
16803
+ readonly region: string;
16804
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/sortingCode) */
16805
+ readonly sortingCode: string;
16806
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/toJSON) */
16807
+ toJSON(): any;
16808
+ }
16809
+
16810
+ declare var PaymentAddress: {
16811
+ prototype: PaymentAddress;
16812
+ new(): PaymentAddress;
16813
+ };
16814
+
16736
16815
  /**
16737
16816
  * Available only in secure contexts.
16738
16817
  *
@@ -16752,6 +16831,8 @@ declare var PaymentMethodChangeEvent: {
16752
16831
 
16753
16832
  interface PaymentRequestEventMap {
16754
16833
  "paymentmethodchange": Event;
16834
+ "shippingaddresschange": Event;
16835
+ "shippingoptionchange": Event;
16755
16836
  }
16756
16837
 
16757
16838
  /**
@@ -16765,6 +16846,36 @@ interface PaymentRequest extends EventTarget {
16765
16846
  readonly id: string;
16766
16847
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/paymentmethodchange_event) */
16767
16848
  onpaymentmethodchange: ((this: PaymentRequest, ev: Event) => any) | null;
16849
+ /**
16850
+ * @deprecated
16851
+ *
16852
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingaddresschange_event)
16853
+ */
16854
+ onshippingaddresschange: ((this: PaymentRequest, ev: Event) => any) | null;
16855
+ /**
16856
+ * @deprecated
16857
+ *
16858
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingoptionchange_event)
16859
+ */
16860
+ onshippingoptionchange: ((this: PaymentRequest, ev: Event) => any) | null;
16861
+ /**
16862
+ * @deprecated
16863
+ *
16864
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingAddress)
16865
+ */
16866
+ readonly shippingAddress: PaymentAddress | null;
16867
+ /**
16868
+ * @deprecated
16869
+ *
16870
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingOption)
16871
+ */
16872
+ readonly shippingOption: string | null;
16873
+ /**
16874
+ * @deprecated
16875
+ *
16876
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingType)
16877
+ */
16878
+ readonly shippingType: PaymentShippingType | null;
16768
16879
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/abort) */
16769
16880
  abort(): Promise<void>;
16770
16881
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/canMakePayment) */
@@ -16779,7 +16890,7 @@ interface PaymentRequest extends EventTarget {
16779
16890
 
16780
16891
  declare var PaymentRequest: {
16781
16892
  prototype: PaymentRequest;
16782
- new(methodData: PaymentMethodData[], details: PaymentDetailsInit): PaymentRequest;
16893
+ new(methodData: PaymentMethodData[], details: PaymentDetailsInit, options?: PaymentOptions): PaymentRequest;
16783
16894
  };
16784
16895
 
16785
16896
  /**
@@ -16798,6 +16909,10 @@ declare var PaymentRequestUpdateEvent: {
16798
16909
  new(type: string, eventInitDict?: PaymentRequestUpdateEventInit): PaymentRequestUpdateEvent;
16799
16910
  };
16800
16911
 
16912
+ interface PaymentResponseEventMap {
16913
+ "payerdetailchange": Event;
16914
+ }
16915
+
16801
16916
  /**
16802
16917
  * This Payment Request API interface is returned after a user selects a payment method and approves a payment request.
16803
16918
  * Available only in secure contexts.
@@ -16809,14 +16924,54 @@ interface PaymentResponse extends EventTarget {
16809
16924
  readonly details: any;
16810
16925
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/methodName) */
16811
16926
  readonly methodName: string;
16927
+ /**
16928
+ * @deprecated
16929
+ *
16930
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerdetailchange_event)
16931
+ */
16932
+ onpayerdetailchange: ((this: PaymentResponse, ev: Event) => any) | null;
16933
+ /**
16934
+ * @deprecated
16935
+ *
16936
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerEmail)
16937
+ */
16938
+ readonly payerEmail: string | null;
16939
+ /**
16940
+ * @deprecated
16941
+ *
16942
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName)
16943
+ */
16944
+ readonly payerName: string | null;
16945
+ /**
16946
+ * @deprecated
16947
+ *
16948
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerPhone)
16949
+ */
16950
+ readonly payerPhone: string | null;
16812
16951
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/requestId) */
16813
16952
  readonly requestId: string;
16953
+ /**
16954
+ * @deprecated
16955
+ *
16956
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingAddress)
16957
+ */
16958
+ readonly shippingAddress: PaymentAddress | null;
16959
+ /**
16960
+ * @deprecated
16961
+ *
16962
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingOption)
16963
+ */
16964
+ readonly shippingOption: string | null;
16814
16965
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/complete) */
16815
16966
  complete(result?: PaymentComplete): Promise<void>;
16816
16967
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/retry) */
16817
16968
  retry(errorFields?: PaymentValidationErrors): Promise<void>;
16818
16969
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/toJSON) */
16819
16970
  toJSON(): any;
16971
+ addEventListener<K extends keyof PaymentResponseEventMap>(type: K, listener: (this: PaymentResponse, ev: PaymentResponseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
16972
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
16973
+ removeEventListener<K extends keyof PaymentResponseEventMap>(type: K, listener: (this: PaymentResponse, ev: PaymentResponseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
16974
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
16820
16975
  }
16821
16976
 
16822
16977
  declare var PaymentResponse: {
@@ -17575,7 +17730,7 @@ interface PublicKeyCredential extends Credential {
17575
17730
  declare var PublicKeyCredential: {
17576
17731
  prototype: PublicKeyCredential;
17577
17732
  new(): PublicKeyCredential;
17578
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable) */
17733
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable_static) */
17579
17734
  isConditionalMediationAvailable(): Promise<boolean>;
17580
17735
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
17581
17736
  isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;
@@ -18005,9 +18160,9 @@ interface RTCPeerConnection extends EventTarget {
18005
18160
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/signalingState) */
18006
18161
  readonly signalingState: RTCSignalingState;
18007
18162
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addIceCandidate) */
18008
- addIceCandidate(candidate?: RTCIceCandidateInit): Promise<void>;
18163
+ addIceCandidate(candidate?: RTCIceCandidateInit | null): Promise<void>;
18009
18164
  /** @deprecated */
18010
- addIceCandidate(candidate: RTCIceCandidateInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;
18165
+ addIceCandidate(candidate: RTCIceCandidateInit | null, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;
18011
18166
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTrack) */
18012
18167
  addTrack(track: MediaStreamTrack, ...streams: MediaStream[]): RTCRtpSender;
18013
18168
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTransceiver) */
@@ -22200,7 +22355,7 @@ interface TextTrackList extends EventTarget {
22200
22355
  onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
22201
22356
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/change_event) */
22202
22357
  onchange: ((this: TextTrackList, ev: Event) => any) | null;
22203
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removeTrack_event) */
22358
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) */
22204
22359
  onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
22205
22360
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/getTrackById) */
22206
22361
  getTrackById(id: string): TextTrack | null;
@@ -26425,7 +26580,7 @@ interface Console {
26425
26580
  clear(): void;
26426
26581
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
26427
26582
  count(label?: string): void;
26428
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */
26583
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
26429
26584
  countReset(label?: string): void;
26430
26585
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
26431
26586
  debug(...data: any[]): void;
@@ -26437,9 +26592,9 @@ interface Console {
26437
26592
  error(...data: any[]): void;
26438
26593
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
26439
26594
  group(...data: any[]): void;
26440
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */
26595
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
26441
26596
  groupCollapsed(...data: any[]): void;
26442
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */
26597
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
26443
26598
  groupEnd(): void;
26444
26599
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
26445
26600
  info(...data: any[]): void;
@@ -26449,9 +26604,9 @@ interface Console {
26449
26604
  table(tabularData?: any, properties?: string[]): void;
26450
26605
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
26451
26606
  time(label?: string): void;
26452
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */
26607
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
26453
26608
  timeEnd(label?: string): void;
26454
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */
26609
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
26455
26610
  timeLog(label?: string, ...data: any[]): void;
26456
26611
  timeStamp(label?: string): void;
26457
26612
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
@@ -27987,7 +28142,6 @@ type AutoFill = AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${Optiona
27987
28142
  type AutoFillField = AutoFillNormalField | `${OptionalPrefixToken<AutoFillContactKind>}${AutoFillContactField}`;
27988
28143
  type AutoFillSection = `section-${string}`;
27989
28144
  type BigInteger = Uint8Array;
27990
- type BinaryData = ArrayBuffer | ArrayBufferView;
27991
28145
  type BlobPart = BufferSource | Blob | string;
27992
28146
  type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
27993
28147
  type BufferSource = ArrayBufferView | ArrayBuffer;
@@ -28156,6 +28310,7 @@ type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
28156
28310
  type OverSampleType = "2x" | "4x" | "none";
28157
28311
  type PanningModelType = "HRTF" | "equalpower";
28158
28312
  type PaymentComplete = "fail" | "success" | "unknown";
28313
+ type PaymentShippingType = "delivery" | "pickup" | "shipping";
28159
28314
  type PermissionName = "geolocation" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";
28160
28315
  type PermissionState = "denied" | "granted" | "prompt";
28161
28316
  type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.155",
3
+ "version": "0.0.157",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -10,6 +10,19 @@ interface AddEventListenerOptions extends EventListenerOptions {
10
10
  signal?: AbortSignal;
11
11
  }
12
12
 
13
+ interface AddressErrors {
14
+ addressLine?: string;
15
+ city?: string;
16
+ country?: string;
17
+ dependentLocality?: string;
18
+ organization?: string;
19
+ phone?: string;
20
+ postalCode?: string;
21
+ recipient?: string;
22
+ region?: string;
23
+ sortingCode?: string;
24
+ }
25
+
13
26
  interface AesCbcParams extends Algorithm {
14
27
  iv: BufferSource;
15
28
  }
@@ -1093,6 +1106,12 @@ interface PannerOptions extends AudioNodeOptions {
1093
1106
  rolloffFactor?: number;
1094
1107
  }
1095
1108
 
1109
+ interface PayerErrors {
1110
+ email?: string;
1111
+ name?: string;
1112
+ phone?: string;
1113
+ }
1114
+
1096
1115
  interface PaymentCurrencyAmount {
1097
1116
  currency: string;
1098
1117
  value: string;
@@ -1101,6 +1120,7 @@ interface PaymentCurrencyAmount {
1101
1120
  interface PaymentDetailsBase {
1102
1121
  displayItems?: PaymentItem[];
1103
1122
  modifiers?: PaymentDetailsModifier[];
1123
+ shippingOptions?: PaymentShippingOption[];
1104
1124
  }
1105
1125
 
1106
1126
  interface PaymentDetailsInit extends PaymentDetailsBase {
@@ -1116,7 +1136,9 @@ interface PaymentDetailsModifier {
1116
1136
  }
1117
1137
 
1118
1138
  interface PaymentDetailsUpdate extends PaymentDetailsBase {
1139
+ error?: string;
1119
1140
  paymentMethodErrors?: any;
1141
+ shippingAddressErrors?: AddressErrors;
1120
1142
  total?: PaymentItem;
1121
1143
  }
1122
1144
 
@@ -1136,12 +1158,28 @@ interface PaymentMethodData {
1136
1158
  supportedMethods: string;
1137
1159
  }
1138
1160
 
1161
+ interface PaymentOptions {
1162
+ requestPayerEmail?: boolean;
1163
+ requestPayerName?: boolean;
1164
+ requestPayerPhone?: boolean;
1165
+ requestShipping?: boolean;
1166
+ shippingType?: PaymentShippingType;
1167
+ }
1168
+
1139
1169
  interface PaymentRequestUpdateEventInit extends EventInit {
1140
1170
  }
1141
1171
 
1172
+ interface PaymentShippingOption {
1173
+ amount: PaymentCurrencyAmount;
1174
+ id: string;
1175
+ label: string;
1176
+ selected?: boolean;
1177
+ }
1178
+
1142
1179
  interface PaymentValidationErrors {
1143
1180
  error?: string;
1144
- paymentMethod?: any;
1181
+ payer?: PayerErrors;
1182
+ shippingAddress?: AddressErrors;
1145
1183
  }
1146
1184
 
1147
1185
  interface Pbkdf2Params extends Algorithm {
@@ -1191,6 +1229,8 @@ interface PlaneLayout {
1191
1229
  }
1192
1230
 
1193
1231
  interface PointerEventInit extends MouseEventInit {
1232
+ altitudeAngle?: number;
1233
+ azimuthAngle?: number;
1194
1234
  coalescedEvents?: PointerEvent[];
1195
1235
  height?: number;
1196
1236
  isPrimary?: boolean;
@@ -3420,7 +3460,7 @@ interface CSSImportRule extends CSSRule {
3420
3460
  readonly layerName: string | null;
3421
3461
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media) */
3422
3462
  readonly media: MediaList;
3423
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/stylesheet) */
3463
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet) */
3424
3464
  readonly styleSheet: CSSStyleSheet | null;
3425
3465
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/supportsText) */
3426
3466
  readonly supportsText: string | null;
@@ -3713,7 +3753,7 @@ declare var CSSPerspective: {
3713
3753
  interface CSSPropertyRule extends CSSRule {
3714
3754
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/inherits) */
3715
3755
  readonly inherits: boolean;
3716
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialvalue) */
3756
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue) */
3717
3757
  readonly initialValue: string | null;
3718
3758
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/name) */
3719
3759
  readonly name: string;
@@ -4172,11 +4212,13 @@ interface CSSStyleDeclaration {
4172
4212
  cx: string;
4173
4213
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cy) */
4174
4214
  cy: string;
4215
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/d) */
4175
4216
  d: string;
4176
4217
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/direction) */
4177
4218
  direction: string;
4178
4219
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/display) */
4179
4220
  display: string;
4221
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) */
4180
4222
  dominantBaseline: string;
4181
4223
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */
4182
4224
  emptyCells: string;
@@ -4371,9 +4413,13 @@ interface CSSStyleDeclaration {
4371
4413
  marginRight: string;
4372
4414
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-top) */
4373
4415
  marginTop: string;
4416
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker) */
4374
4417
  marker: string;
4418
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-end) */
4375
4419
  markerEnd: string;
4420
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-mid) */
4376
4421
  markerMid: string;
4422
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-start) */
4377
4423
  markerStart: string;
4378
4424
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask) */
4379
4425
  mask: string;
@@ -4613,6 +4659,7 @@ interface CSSStyleDeclaration {
4613
4659
  stopColor: string;
4614
4660
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stop-opacity) */
4615
4661
  stopOpacity: string;
4662
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke) */
4616
4663
  stroke: string;
4617
4664
  strokeDasharray: string;
4618
4665
  strokeDashoffset: string;
@@ -4705,6 +4752,7 @@ interface CSSStyleDeclaration {
4705
4752
  unicodeBidi: string;
4706
4753
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/user-select) */
4707
4754
  userSelect: string;
4755
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vector-effect) */
4708
4756
  vectorEffect: string;
4709
4757
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */
4710
4758
  verticalAlign: string;
@@ -8722,7 +8770,7 @@ interface FontFace {
8722
8770
 
8723
8771
  declare var FontFace: {
8724
8772
  prototype: FontFace;
8725
- new(family: string, source: string | BinaryData, descriptors?: FontFaceDescriptors): FontFace;
8773
+ new(family: string, source: string | BufferSource, descriptors?: FontFaceDescriptors): FontFace;
8726
8774
  };
8727
8775
 
8728
8776
  interface FontFaceSetEventMap {
@@ -13982,7 +14030,7 @@ interface IDBTransaction extends EventTarget {
13982
14030
  /**
13983
14031
  * Returns a list of the names of object stores in the transaction's scope. For an upgrade transaction this is all object stores in the database.
13984
14032
  *
13985
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/ObjectStoreNames)
14033
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)
13986
14034
  */
13987
14035
  readonly objectStoreNames: DOMStringList;
13988
14036
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */
@@ -16733,6 +16781,37 @@ declare var Path2D: {
16733
16781
  new(path?: Path2D | string): Path2D;
16734
16782
  };
16735
16783
 
16784
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress) */
16785
+ interface PaymentAddress {
16786
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/addressLine) */
16787
+ readonly addressLine: ReadonlyArray<string>;
16788
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/city) */
16789
+ readonly city: string;
16790
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/country) */
16791
+ readonly country: string;
16792
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/dependentLocality) */
16793
+ readonly dependentLocality: string;
16794
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/organization) */
16795
+ readonly organization: string;
16796
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/phone) */
16797
+ readonly phone: string;
16798
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/postalCode) */
16799
+ readonly postalCode: string;
16800
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/recipient) */
16801
+ readonly recipient: string;
16802
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/region) */
16803
+ readonly region: string;
16804
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/sortingCode) */
16805
+ readonly sortingCode: string;
16806
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/toJSON) */
16807
+ toJSON(): any;
16808
+ }
16809
+
16810
+ declare var PaymentAddress: {
16811
+ prototype: PaymentAddress;
16812
+ new(): PaymentAddress;
16813
+ };
16814
+
16736
16815
  /**
16737
16816
  * Available only in secure contexts.
16738
16817
  *
@@ -16752,6 +16831,8 @@ declare var PaymentMethodChangeEvent: {
16752
16831
 
16753
16832
  interface PaymentRequestEventMap {
16754
16833
  "paymentmethodchange": Event;
16834
+ "shippingaddresschange": Event;
16835
+ "shippingoptionchange": Event;
16755
16836
  }
16756
16837
 
16757
16838
  /**
@@ -16765,6 +16846,36 @@ interface PaymentRequest extends EventTarget {
16765
16846
  readonly id: string;
16766
16847
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/paymentmethodchange_event) */
16767
16848
  onpaymentmethodchange: ((this: PaymentRequest, ev: Event) => any) | null;
16849
+ /**
16850
+ * @deprecated
16851
+ *
16852
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingaddresschange_event)
16853
+ */
16854
+ onshippingaddresschange: ((this: PaymentRequest, ev: Event) => any) | null;
16855
+ /**
16856
+ * @deprecated
16857
+ *
16858
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingoptionchange_event)
16859
+ */
16860
+ onshippingoptionchange: ((this: PaymentRequest, ev: Event) => any) | null;
16861
+ /**
16862
+ * @deprecated
16863
+ *
16864
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingAddress)
16865
+ */
16866
+ readonly shippingAddress: PaymentAddress | null;
16867
+ /**
16868
+ * @deprecated
16869
+ *
16870
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingOption)
16871
+ */
16872
+ readonly shippingOption: string | null;
16873
+ /**
16874
+ * @deprecated
16875
+ *
16876
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingType)
16877
+ */
16878
+ readonly shippingType: PaymentShippingType | null;
16768
16879
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/abort) */
16769
16880
  abort(): Promise<void>;
16770
16881
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/canMakePayment) */
@@ -16779,7 +16890,7 @@ interface PaymentRequest extends EventTarget {
16779
16890
 
16780
16891
  declare var PaymentRequest: {
16781
16892
  prototype: PaymentRequest;
16782
- new(methodData: PaymentMethodData[], details: PaymentDetailsInit): PaymentRequest;
16893
+ new(methodData: PaymentMethodData[], details: PaymentDetailsInit, options?: PaymentOptions): PaymentRequest;
16783
16894
  };
16784
16895
 
16785
16896
  /**
@@ -16798,6 +16909,10 @@ declare var PaymentRequestUpdateEvent: {
16798
16909
  new(type: string, eventInitDict?: PaymentRequestUpdateEventInit): PaymentRequestUpdateEvent;
16799
16910
  };
16800
16911
 
16912
+ interface PaymentResponseEventMap {
16913
+ "payerdetailchange": Event;
16914
+ }
16915
+
16801
16916
  /**
16802
16917
  * This Payment Request API interface is returned after a user selects a payment method and approves a payment request.
16803
16918
  * Available only in secure contexts.
@@ -16809,14 +16924,54 @@ interface PaymentResponse extends EventTarget {
16809
16924
  readonly details: any;
16810
16925
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/methodName) */
16811
16926
  readonly methodName: string;
16927
+ /**
16928
+ * @deprecated
16929
+ *
16930
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerdetailchange_event)
16931
+ */
16932
+ onpayerdetailchange: ((this: PaymentResponse, ev: Event) => any) | null;
16933
+ /**
16934
+ * @deprecated
16935
+ *
16936
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerEmail)
16937
+ */
16938
+ readonly payerEmail: string | null;
16939
+ /**
16940
+ * @deprecated
16941
+ *
16942
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName)
16943
+ */
16944
+ readonly payerName: string | null;
16945
+ /**
16946
+ * @deprecated
16947
+ *
16948
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerPhone)
16949
+ */
16950
+ readonly payerPhone: string | null;
16812
16951
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/requestId) */
16813
16952
  readonly requestId: string;
16953
+ /**
16954
+ * @deprecated
16955
+ *
16956
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingAddress)
16957
+ */
16958
+ readonly shippingAddress: PaymentAddress | null;
16959
+ /**
16960
+ * @deprecated
16961
+ *
16962
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingOption)
16963
+ */
16964
+ readonly shippingOption: string | null;
16814
16965
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/complete) */
16815
16966
  complete(result?: PaymentComplete): Promise<void>;
16816
16967
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/retry) */
16817
16968
  retry(errorFields?: PaymentValidationErrors): Promise<void>;
16818
16969
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/toJSON) */
16819
16970
  toJSON(): any;
16971
+ addEventListener<K extends keyof PaymentResponseEventMap>(type: K, listener: (this: PaymentResponse, ev: PaymentResponseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
16972
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
16973
+ removeEventListener<K extends keyof PaymentResponseEventMap>(type: K, listener: (this: PaymentResponse, ev: PaymentResponseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
16974
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
16820
16975
  }
16821
16976
 
16822
16977
  declare var PaymentResponse: {
@@ -17575,7 +17730,7 @@ interface PublicKeyCredential extends Credential {
17575
17730
  declare var PublicKeyCredential: {
17576
17731
  prototype: PublicKeyCredential;
17577
17732
  new(): PublicKeyCredential;
17578
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable) */
17733
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable_static) */
17579
17734
  isConditionalMediationAvailable(): Promise<boolean>;
17580
17735
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
17581
17736
  isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;
@@ -18005,9 +18160,9 @@ interface RTCPeerConnection extends EventTarget {
18005
18160
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/signalingState) */
18006
18161
  readonly signalingState: RTCSignalingState;
18007
18162
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addIceCandidate) */
18008
- addIceCandidate(candidate?: RTCIceCandidateInit): Promise<void>;
18163
+ addIceCandidate(candidate?: RTCIceCandidateInit | null): Promise<void>;
18009
18164
  /** @deprecated */
18010
- addIceCandidate(candidate: RTCIceCandidateInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;
18165
+ addIceCandidate(candidate: RTCIceCandidateInit | null, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;
18011
18166
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTrack) */
18012
18167
  addTrack(track: MediaStreamTrack, ...streams: MediaStream[]): RTCRtpSender;
18013
18168
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTransceiver) */
@@ -22200,7 +22355,7 @@ interface TextTrackList extends EventTarget {
22200
22355
  onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
22201
22356
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/change_event) */
22202
22357
  onchange: ((this: TextTrackList, ev: Event) => any) | null;
22203
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removeTrack_event) */
22358
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) */
22204
22359
  onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;
22205
22360
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/getTrackById) */
22206
22361
  getTrackById(id: string): TextTrack | null;
@@ -26425,7 +26580,7 @@ interface Console {
26425
26580
  clear(): void;
26426
26581
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static) */
26427
26582
  count(label?: string): void;
26428
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countreset_static) */
26583
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static) */
26429
26584
  countReset(label?: string): void;
26430
26585
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static) */
26431
26586
  debug(...data: any[]): void;
@@ -26437,9 +26592,9 @@ interface Console {
26437
26592
  error(...data: any[]): void;
26438
26593
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static) */
26439
26594
  group(...data: any[]): void;
26440
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupcollapsed_static) */
26595
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static) */
26441
26596
  groupCollapsed(...data: any[]): void;
26442
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupend_static) */
26597
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static) */
26443
26598
  groupEnd(): void;
26444
26599
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static) */
26445
26600
  info(...data: any[]): void;
@@ -26449,9 +26604,9 @@ interface Console {
26449
26604
  table(tabularData?: any, properties?: string[]): void;
26450
26605
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static) */
26451
26606
  time(label?: string): void;
26452
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeend_static) */
26607
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static) */
26453
26608
  timeEnd(label?: string): void;
26454
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timelog_static) */
26609
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static) */
26455
26610
  timeLog(label?: string, ...data: any[]): void;
26456
26611
  timeStamp(label?: string): void;
26457
26612
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static) */
@@ -27987,7 +28142,6 @@ type AutoFill = AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${Optiona
27987
28142
  type AutoFillField = AutoFillNormalField | `${OptionalPrefixToken<AutoFillContactKind>}${AutoFillContactField}`;
27988
28143
  type AutoFillSection = `section-${string}`;
27989
28144
  type BigInteger = Uint8Array;
27990
- type BinaryData = ArrayBuffer | ArrayBufferView;
27991
28145
  type BlobPart = BufferSource | Blob | string;
27992
28146
  type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
27993
28147
  type BufferSource = ArrayBufferView | ArrayBuffer;
@@ -28156,6 +28310,7 @@ type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
28156
28310
  type OverSampleType = "2x" | "4x" | "none";
28157
28311
  type PanningModelType = "HRTF" | "equalpower";
28158
28312
  type PaymentComplete = "fail" | "success" | "unknown";
28313
+ type PaymentShippingType = "delivery" | "pickup" | "shipping";
28159
28314
  type PermissionName = "geolocation" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";
28160
28315
  type PermissionState = "denied" | "granted" | "prompt";
28161
28316
  type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";