@types/web 0.0.151 → 0.0.153

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +188 -34
  3. package/package.json +1 -1
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.151 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.151.
50
+ You can read what changed in version 0.0.153 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.153.
package/index.d.ts CHANGED
@@ -121,12 +121,29 @@ interface AuthenticationExtensionsClientInputs {
121
121
  credProps?: boolean;
122
122
  hmacCreateSecret?: boolean;
123
123
  minPinLength?: boolean;
124
+ prf?: AuthenticationExtensionsPRFInputs;
124
125
  }
125
126
 
126
127
  interface AuthenticationExtensionsClientOutputs {
127
128
  appid?: boolean;
128
129
  credProps?: CredentialPropertiesOutput;
129
130
  hmacCreateSecret?: boolean;
131
+ prf?: AuthenticationExtensionsPRFOutputs;
132
+ }
133
+
134
+ interface AuthenticationExtensionsPRFInputs {
135
+ eval?: AuthenticationExtensionsPRFValues;
136
+ evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
137
+ }
138
+
139
+ interface AuthenticationExtensionsPRFOutputs {
140
+ enabled?: boolean;
141
+ results?: AuthenticationExtensionsPRFValues;
142
+ }
143
+
144
+ interface AuthenticationExtensionsPRFValues {
145
+ first: BufferSource;
146
+ second?: BufferSource;
130
147
  }
131
148
 
132
149
  interface AuthenticatorSelectionCriteria {
@@ -192,6 +209,10 @@ interface CanvasRenderingContext2DSettings {
192
209
  willReadFrequently?: boolean;
193
210
  }
194
211
 
212
+ interface CaretPositionFromPointOptions {
213
+ shadowRoots?: ShadowRoot[];
214
+ }
215
+
195
216
  interface ChannelMergerOptions extends AudioNodeOptions {
196
217
  numberOfInputs?: number;
197
218
  }
@@ -682,16 +703,6 @@ interface InputEventInit extends UIEventInit {
682
703
  targetRanges?: StaticRange[];
683
704
  }
684
705
 
685
- interface IntersectionObserverEntryInit {
686
- boundingClientRect: DOMRectInit;
687
- intersectionRatio: number;
688
- intersectionRect: DOMRectInit;
689
- isIntersecting: boolean;
690
- rootBounds: DOMRectInit | null;
691
- target: Element;
692
- time: DOMHighResTimeStamp;
693
- }
694
-
695
706
  interface IntersectionObserverInit {
696
707
  root?: Element | Document | null;
697
708
  rootMargin?: string;
@@ -901,6 +912,7 @@ interface MediaStreamTrackEventInit extends EventInit {
901
912
  interface MediaTrackCapabilities {
902
913
  aspectRatio?: DoubleRange;
903
914
  autoGainControl?: boolean[];
915
+ backgroundBlur?: boolean[];
904
916
  channelCount?: ULongRange;
905
917
  deviceId?: string;
906
918
  displaySurface?: string;
@@ -918,6 +930,7 @@ interface MediaTrackCapabilities {
918
930
  interface MediaTrackConstraintSet {
919
931
  aspectRatio?: ConstrainDouble;
920
932
  autoGainControl?: ConstrainBoolean;
933
+ backgroundBlur?: ConstrainBoolean;
921
934
  channelCount?: ConstrainULong;
922
935
  deviceId?: ConstrainDOMString;
923
936
  displaySurface?: ConstrainDOMString;
@@ -939,6 +952,7 @@ interface MediaTrackConstraints extends MediaTrackConstraintSet {
939
952
  interface MediaTrackSettings {
940
953
  aspectRatio?: number;
941
954
  autoGainControl?: boolean;
955
+ backgroundBlur?: boolean;
942
956
  channelCount?: number;
943
957
  deviceId?: string;
944
958
  displaySurface?: string;
@@ -956,6 +970,7 @@ interface MediaTrackSettings {
956
970
  interface MediaTrackSupportedConstraints {
957
971
  aspectRatio?: boolean;
958
972
  autoGainControl?: boolean;
973
+ backgroundBlur?: boolean;
959
974
  channelCount?: boolean;
960
975
  deviceId?: boolean;
961
976
  displaySurface?: boolean;
@@ -2225,6 +2240,8 @@ interface ARIAMixin {
2225
2240
  ariaColCount: string | null;
2226
2241
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex) */
2227
2242
  ariaColIndex: string | null;
2243
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText) */
2244
+ ariaColIndexText: string | null;
2228
2245
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */
2229
2246
  ariaColSpan: string | null;
2230
2247
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */
@@ -2272,6 +2289,8 @@ interface ARIAMixin {
2272
2289
  ariaRowCount: string | null;
2273
2290
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex) */
2274
2291
  ariaRowIndex: string | null;
2292
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText) */
2293
+ ariaRowIndexText: string | null;
2275
2294
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan) */
2276
2295
  ariaRowSpan: string | null;
2277
2296
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected) */
@@ -3135,6 +3154,8 @@ interface Blob {
3135
3154
  readonly type: string;
3136
3155
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer) */
3137
3156
  arrayBuffer(): Promise<ArrayBuffer>;
3157
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes) */
3158
+ bytes(): Promise<Uint8Array>;
3138
3159
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */
3139
3160
  slice(start?: number, end?: number, contentType?: string): Blob;
3140
3161
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/stream) */
@@ -3170,6 +3191,8 @@ interface Body {
3170
3191
  arrayBuffer(): Promise<ArrayBuffer>;
3171
3192
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob) */
3172
3193
  blob(): Promise<Blob>;
3194
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes) */
3195
+ bytes(): Promise<Uint8Array>;
3173
3196
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData) */
3174
3197
  formData(): Promise<FormData>;
3175
3198
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json) */
@@ -4111,9 +4134,11 @@ interface CSSStyleDeclaration {
4111
4134
  columns: string;
4112
4135
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain) */
4113
4136
  contain: string;
4137
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-block-size) */
4114
4138
  containIntrinsicBlockSize: string;
4115
4139
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height) */
4116
4140
  containIntrinsicHeight: string;
4141
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-inline-size) */
4117
4142
  containIntrinsicInlineSize: string;
4118
4143
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-size) */
4119
4144
  containIntrinsicSize: string;
@@ -4141,7 +4166,9 @@ interface CSSStyleDeclaration {
4141
4166
  cssText: string;
4142
4167
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */
4143
4168
  cursor: string;
4169
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cx) */
4144
4170
  cx: string;
4171
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cy) */
4145
4172
  cy: string;
4146
4173
  d: string;
4147
4174
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/direction) */
@@ -4491,6 +4518,7 @@ interface CSSStyleDeclaration {
4491
4518
  printColorAdjust: string;
4492
4519
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/quotes) */
4493
4520
  quotes: string;
4521
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/r) */
4494
4522
  r: string;
4495
4523
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/resize) */
4496
4524
  resize: string;
@@ -4500,9 +4528,13 @@ interface CSSStyleDeclaration {
4500
4528
  rotate: string;
4501
4529
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/row-gap) */
4502
4530
  rowGap: string;
4531
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ruby-align) */
4532
+ rubyAlign: string;
4503
4533
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ruby-position) */
4504
4534
  rubyPosition: string;
4535
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/rx) */
4505
4536
  rx: string;
4537
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ry) */
4506
4538
  ry: string;
4507
4539
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scale) */
4508
4540
  scale: string;
@@ -5631,6 +5663,18 @@ interface CanvasUserInterface {
5631
5663
  drawFocusIfNeeded(path: Path2D, element: Element): void;
5632
5664
  }
5633
5665
 
5666
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition) */
5667
+ interface CaretPosition {
5668
+ readonly offset: number;
5669
+ readonly offsetNode: Node;
5670
+ getClientRect(): DOMRect | null;
5671
+ }
5672
+
5673
+ declare var CaretPosition: {
5674
+ prototype: CaretPosition;
5675
+ new(): CaretPosition;
5676
+ };
5677
+
5634
5678
  /**
5635
5679
  * The ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output. Each input is used to fill a channel of the output. This is useful for accessing each channels separately, e.g. for performing channel mixing where gain must be separately controlled on each channel.
5636
5680
  *
@@ -5846,6 +5890,8 @@ declare var CompositionEvent: {
5846
5890
 
5847
5891
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream) */
5848
5892
  interface CompressionStream extends GenericTransformStream {
5893
+ readonly readable: ReadableStream<Uint8Array>;
5894
+ readonly writable: WritableStream<BufferSource>;
5849
5895
  }
5850
5896
 
5851
5897
  declare var CompressionStream: {
@@ -6150,27 +6196,49 @@ declare var DOMImplementation: {
6150
6196
 
6151
6197
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix) */
6152
6198
  interface DOMMatrix extends DOMMatrixReadOnly {
6199
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6153
6200
  a: number;
6201
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6154
6202
  b: number;
6203
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6155
6204
  c: number;
6205
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6156
6206
  d: number;
6207
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6157
6208
  e: number;
6209
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6158
6210
  f: number;
6211
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6159
6212
  m11: number;
6213
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6160
6214
  m12: number;
6215
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6161
6216
  m13: number;
6217
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6162
6218
  m14: number;
6219
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6163
6220
  m21: number;
6221
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6164
6222
  m22: number;
6223
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6165
6224
  m23: number;
6225
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6166
6226
  m24: number;
6227
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6167
6228
  m31: number;
6229
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6168
6230
  m32: number;
6231
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6169
6232
  m33: number;
6233
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6170
6234
  m34: number;
6235
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6171
6236
  m41: number;
6237
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6172
6238
  m42: number;
6239
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6173
6240
  m43: number;
6241
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */
6174
6242
  m44: number;
6175
6243
  invertSelf(): DOMMatrix;
6176
6244
  multiplySelf(other?: DOMMatrixInit): DOMMatrix;
@@ -6202,29 +6270,51 @@ declare var WebKitCSSMatrix: typeof DOMMatrix;
6202
6270
 
6203
6271
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly) */
6204
6272
  interface DOMMatrixReadOnly {
6273
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6205
6274
  readonly a: number;
6275
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6206
6276
  readonly b: number;
6277
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6207
6278
  readonly c: number;
6279
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6208
6280
  readonly d: number;
6281
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6209
6282
  readonly e: number;
6283
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6210
6284
  readonly f: number;
6211
6285
  readonly is2D: boolean;
6212
6286
  readonly isIdentity: boolean;
6287
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6213
6288
  readonly m11: number;
6289
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6214
6290
  readonly m12: number;
6291
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6215
6292
  readonly m13: number;
6293
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6216
6294
  readonly m14: number;
6295
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6217
6296
  readonly m21: number;
6297
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6218
6298
  readonly m22: number;
6299
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6219
6300
  readonly m23: number;
6301
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6220
6302
  readonly m24: number;
6303
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6221
6304
  readonly m31: number;
6305
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6222
6306
  readonly m32: number;
6307
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6223
6308
  readonly m33: number;
6309
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6224
6310
  readonly m34: number;
6311
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6225
6312
  readonly m41: number;
6313
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6226
6314
  readonly m42: number;
6315
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6227
6316
  readonly m43: number;
6317
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */
6228
6318
  readonly m44: number;
6229
6319
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX) */
6230
6320
  flipX(): DOMMatrix;
@@ -6696,6 +6786,8 @@ declare var DataTransferItemList: {
6696
6786
 
6697
6787
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream) */
6698
6788
  interface DecompressionStream extends GenericTransformStream {
6789
+ readonly readable: ReadableStream<Uint8Array>;
6790
+ readonly writable: WritableStream<BufferSource>;
6699
6791
  }
6700
6792
 
6701
6793
  declare var DecompressionStream: {
@@ -7102,6 +7194,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
7102
7194
  adoptNode<T extends Node>(node: T): T;
7103
7195
  /** @deprecated */
7104
7196
  captureEvents(): void;
7197
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint) */
7198
+ caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null;
7105
7199
  /** @deprecated */
7106
7200
  caretRangeFromPoint(x: number, y: number): Range | null;
7107
7201
  /**
@@ -7689,6 +7783,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
7689
7783
  readonly clientTop: number;
7690
7784
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientWidth) */
7691
7785
  readonly clientWidth: number;
7786
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom) */
7787
+ readonly currentCSSZoom: number;
7692
7788
  /**
7693
7789
  * Returns the value of element's id content attribute. Can be set to change it.
7694
7790
  *
@@ -8649,7 +8745,7 @@ interface FontFaceSet extends EventTarget {
8649
8745
 
8650
8746
  declare var FontFaceSet: {
8651
8747
  prototype: FontFaceSet;
8652
- new(initialFaces: FontFace[]): FontFaceSet;
8748
+ new(): FontFaceSet;
8653
8749
  };
8654
8750
 
8655
8751
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent) */
@@ -8799,6 +8895,7 @@ declare var GamepadEvent: {
8799
8895
  interface GamepadHapticActuator {
8800
8896
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/playEffect) */
8801
8897
  playEffect(type: GamepadHapticEffectType, params?: GamepadEffectParameters): Promise<GamepadHapticsResult>;
8898
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/reset) */
8802
8899
  reset(): Promise<GamepadHapticsResult>;
8803
8900
  }
8804
8901
 
@@ -9647,7 +9744,11 @@ declare var HTMLBRElement: {
9647
9744
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement)
9648
9745
  */
9649
9746
  interface HTMLBaseElement extends HTMLElement {
9650
- /** Gets or sets the baseline URL on which relative links are based. */
9747
+ /**
9748
+ * Gets or sets the baseline URL on which relative links are based.
9749
+ *
9750
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/href)
9751
+ */
9651
9752
  href: string;
9652
9753
  /**
9653
9754
  * Sets or retrieves the window or frame at which to target content.
@@ -10054,6 +10155,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
10054
10155
  title: string;
10055
10156
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) */
10056
10157
  translate: boolean;
10158
+ writingSuggestions: string;
10057
10159
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attachInternals) */
10058
10160
  attachInternals(): ElementInternals;
10059
10161
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/click) */
@@ -11119,7 +11221,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
11119
11221
  disabled: boolean;
11120
11222
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */
11121
11223
  fetchPriority: string;
11122
- /** Sets or retrieves a destination URL or an anchor point. */
11224
+ /**
11225
+ * Sets or retrieves a destination URL or an anchor point.
11226
+ *
11227
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href)
11228
+ */
11123
11229
  href: string;
11124
11230
  /**
11125
11231
  * Sets or retrieves the language code of the object.
@@ -11131,7 +11237,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
11131
11237
  imageSrcset: string;
11132
11238
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */
11133
11239
  integrity: string;
11134
- /** Sets or retrieves the media type. */
11240
+ /**
11241
+ * Sets or retrieves the media type.
11242
+ *
11243
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/media)
11244
+ */
11135
11245
  media: string;
11136
11246
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/referrerPolicy) */
11137
11247
  referrerPolicy: string;
@@ -11177,7 +11287,11 @@ declare var HTMLLinkElement: {
11177
11287
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement)
11178
11288
  */
11179
11289
  interface HTMLMapElement extends HTMLElement {
11180
- /** Retrieves a collection of the area objects defined for the given map object. */
11290
+ /**
11291
+ * Retrieves a collection of the area objects defined for the given map object.
11292
+ *
11293
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/areas)
11294
+ */
11181
11295
  readonly areas: HTMLCollection;
11182
11296
  /**
11183
11297
  * Sets or retrieves the name of the object.
@@ -12332,6 +12446,8 @@ interface HTMLTableCaptionElement extends HTMLElement {
12332
12446
  /**
12333
12447
  * Sets or retrieves the alignment of the caption or legend.
12334
12448
  * @deprecated
12449
+ *
12450
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement/align)
12335
12451
  */
12336
12452
  align: string;
12337
12453
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTableCaptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -12694,6 +12810,8 @@ interface HTMLTableRowElement extends HTMLElement {
12694
12810
  /**
12695
12811
  * Sets or retrieves how the object is aligned with adjacent text.
12696
12812
  * @deprecated
12813
+ *
12814
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/align)
12697
12815
  */
12698
12816
  align: string;
12699
12817
  /**
@@ -12732,7 +12850,11 @@ interface HTMLTableRowElement extends HTMLElement {
12732
12850
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/sectionRowIndex)
12733
12851
  */
12734
12852
  readonly sectionRowIndex: number;
12735
- /** @deprecated */
12853
+ /**
12854
+ * @deprecated
12855
+ *
12856
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/vAlign)
12857
+ */
12736
12858
  vAlign: string;
12737
12859
  /**
12738
12860
  * Removes the specified cell from the table row, as well as from the cells collection.
@@ -12768,6 +12890,8 @@ interface HTMLTableSectionElement extends HTMLElement {
12768
12890
  /**
12769
12891
  * Sets or retrieves a value that indicates the table alignment.
12770
12892
  * @deprecated
12893
+ *
12894
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/align)
12771
12895
  */
12772
12896
  align: string;
12773
12897
  /**
@@ -12788,7 +12912,11 @@ interface HTMLTableSectionElement extends HTMLElement {
12788
12912
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/rows)
12789
12913
  */
12790
12914
  readonly rows: HTMLCollectionOf<HTMLTableRowElement>;
12791
- /** @deprecated */
12915
+ /**
12916
+ * @deprecated
12917
+ *
12918
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/vAlign)
12919
+ */
12792
12920
  vAlign: string;
12793
12921
  /**
12794
12922
  * Removes the specified row (tr) from the element and from the rows collection.
@@ -14090,7 +14218,7 @@ interface IntersectionObserverEntry {
14090
14218
 
14091
14219
  declare var IntersectionObserverEntry: {
14092
14220
  prototype: IntersectionObserverEntry;
14093
- new(intersectionObserverEntryInit: IntersectionObserverEntryInit): IntersectionObserverEntry;
14221
+ new(): IntersectionObserverEntry;
14094
14222
  };
14095
14223
 
14096
14224
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile) */
@@ -14771,6 +14899,7 @@ declare var MediaKeySystemAccess: {
14771
14899
  interface MediaKeys {
14772
14900
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/createSession) */
14773
14901
  createSession(sessionType?: MediaKeySessionType): MediaKeySession;
14902
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/getStatusForPolicy) */
14774
14903
  getStatusForPolicy(policy?: MediaKeysPolicy): Promise<MediaKeyStatus>;
14775
14904
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/setServerCertificate) */
14776
14905
  setServerCertificate(serverCertificate: BufferSource): Promise<boolean>;
@@ -16246,7 +16375,7 @@ interface OES_vertex_array_object {
16246
16375
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/bindVertexArrayOES) */
16247
16376
  bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
16248
16377
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES) */
16249
- createVertexArrayOES(): WebGLVertexArrayObjectOES | null;
16378
+ createVertexArrayOES(): WebGLVertexArrayObjectOES;
16250
16379
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES) */
16251
16380
  deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;
16252
16381
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/isVertexArrayOES) */
@@ -16379,6 +16508,7 @@ declare var OffscreenCanvas: {
16379
16508
 
16380
16509
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */
16381
16510
  interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
16511
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas) */
16382
16512
  readonly canvas: OffscreenCanvas;
16383
16513
  }
16384
16514
 
@@ -16967,6 +17097,8 @@ interface PerformanceResourceTiming extends PerformanceEntry {
16967
17097
  readonly responseEnd: DOMHighResTimeStamp;
16968
17098
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStart) */
16969
17099
  readonly responseStart: DOMHighResTimeStamp;
17100
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStatus) */
17101
+ readonly responseStatus: number;
16970
17102
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/secureConnectionStart) */
16971
17103
  readonly secureConnectionStart: DOMHighResTimeStamp;
16972
17104
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/serverTiming) */
@@ -18268,7 +18400,7 @@ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
18268
18400
 
18269
18401
  declare var ReadableStreamBYOBReader: {
18270
18402
  prototype: ReadableStreamBYOBReader;
18271
- new(stream: ReadableStream): ReadableStreamBYOBReader;
18403
+ new(stream: ReadableStream<Uint8Array>): ReadableStreamBYOBReader;
18272
18404
  };
18273
18405
 
18274
18406
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest) */
@@ -21590,7 +21722,7 @@ interface SubtleCrypto {
21590
21722
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/decrypt) */
21591
21723
  decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;
21592
21724
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits) */
21593
- deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length: number): Promise<ArrayBuffer>;
21725
+ deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length?: number | null): Promise<ArrayBuffer>;
21594
21726
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
21595
21727
  deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;
21596
21728
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/digest) */
@@ -21755,11 +21887,27 @@ declare var TextEncoderStream: {
21755
21887
  new(): TextEncoderStream;
21756
21888
  };
21757
21889
 
21890
+ /**
21891
+ * @deprecated
21892
+ *
21893
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEvent)
21894
+ */
21758
21895
  interface TextEvent extends UIEvent {
21896
+ /**
21897
+ * @deprecated
21898
+ *
21899
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEvent/data)
21900
+ */
21759
21901
  readonly data: string;
21902
+ /**
21903
+ * @deprecated
21904
+ *
21905
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEvent/initTextEvent)
21906
+ */
21760
21907
  initTextEvent(type: string, bubbles?: boolean, cancelable?: boolean, view?: Window | null, data?: string): void;
21761
21908
  }
21762
21909
 
21910
+ /** @deprecated */
21763
21911
  declare var TextEvent: {
21764
21912
  prototype: TextEvent;
21765
21913
  new(): TextEvent;
@@ -22495,6 +22643,7 @@ declare var VTTRegion: {
22495
22643
  interface ValidityState {
22496
22644
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/badInput) */
22497
22645
  readonly badInput: boolean;
22646
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/customError) */
22498
22647
  readonly customError: boolean;
22499
22648
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/patternMismatch) */
22500
22649
  readonly patternMismatch: boolean;
@@ -22510,6 +22659,7 @@ interface ValidityState {
22510
22659
  readonly tooShort: boolean;
22511
22660
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/typeMismatch) */
22512
22661
  readonly typeMismatch: boolean;
22662
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valid) */
22513
22663
  readonly valid: boolean;
22514
22664
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valueMissing) */
22515
22665
  readonly valueMissing: boolean;
@@ -23573,13 +23723,13 @@ interface WebGL2RenderingContextBase {
23573
23723
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D) */
23574
23724
  copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;
23575
23725
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createQuery) */
23576
- createQuery(): WebGLQuery | null;
23726
+ createQuery(): WebGLQuery;
23577
23727
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createSampler) */
23578
- createSampler(): WebGLSampler | null;
23728
+ createSampler(): WebGLSampler;
23579
23729
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createTransformFeedback) */
23580
- createTransformFeedback(): WebGLTransformFeedback | null;
23730
+ createTransformFeedback(): WebGLTransformFeedback;
23581
23731
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createVertexArray) */
23582
- createVertexArray(): WebGLVertexArrayObject | null;
23732
+ createVertexArray(): WebGLVertexArrayObject;
23583
23733
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteQuery) */
23584
23734
  deleteQuery(query: WebGLQuery | null): void;
23585
23735
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteSampler) */
@@ -24494,17 +24644,17 @@ interface WebGLRenderingContextBase {
24494
24644
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/copyTexSubImage2D) */
24495
24645
  copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;
24496
24646
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createBuffer) */
24497
- createBuffer(): WebGLBuffer | null;
24647
+ createBuffer(): WebGLBuffer;
24498
24648
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createFramebuffer) */
24499
- createFramebuffer(): WebGLFramebuffer | null;
24649
+ createFramebuffer(): WebGLFramebuffer;
24500
24650
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createProgram) */
24501
- createProgram(): WebGLProgram | null;
24651
+ createProgram(): WebGLProgram;
24502
24652
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createRenderbuffer) */
24503
- createRenderbuffer(): WebGLRenderbuffer | null;
24653
+ createRenderbuffer(): WebGLRenderbuffer;
24504
24654
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createShader) */
24505
24655
  createShader(type: GLenum): WebGLShader | null;
24506
24656
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createTexture) */
24507
- createTexture(): WebGLTexture | null;
24657
+ createTexture(): WebGLTexture;
24508
24658
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/cullFace) */
24509
24659
  cullFace(mode: GLenum): void;
24510
24660
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteBuffer) */
@@ -25762,7 +25912,7 @@ interface WindowOrWorkerGlobalScope {
25762
25912
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
25763
25913
  createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
25764
25914
  createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
25765
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) */
25915
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
25766
25916
  fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
25767
25917
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */
25768
25918
  queueMicrotask(callback: VoidFunction): void;
@@ -26151,7 +26301,11 @@ declare var XPathEvaluator: {
26151
26301
  interface XPathEvaluatorBase {
26152
26302
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createExpression) */
26153
26303
  createExpression(expression: string, resolver?: XPathNSResolver | null): XPathExpression;
26154
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createNSResolver) */
26304
+ /**
26305
+ * @deprecated
26306
+ *
26307
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createNSResolver)
26308
+ */
26155
26309
  createNSResolver(nodeResolver: Node): Node;
26156
26310
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/evaluate) */
26157
26311
  evaluate(expression: string, contextNode: Node, resolver?: XPathNSResolver | null, type?: number, result?: XPathResult | null): XPathResult;
@@ -27798,7 +27952,7 @@ declare function clearTimeout(id: number | undefined): void;
27798
27952
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/createImageBitmap) */
27799
27953
  declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
27800
27954
  declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
27801
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) */
27955
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */
27802
27956
  declare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
27803
27957
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/queueMicrotask) */
27804
27958
  declare function queueMicrotask(callback: VoidFunction): void;
@@ -27991,7 +28145,7 @@ type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
27991
28145
  type OverSampleType = "2x" | "4x" | "none";
27992
28146
  type PanningModelType = "HRTF" | "equalpower";
27993
28147
  type PaymentComplete = "fail" | "success" | "unknown";
27994
- type PermissionName = "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "xr-spatial-tracking";
28148
+ type PermissionName = "geolocation" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";
27995
28149
  type PermissionState = "denied" | "granted" | "prompt";
27996
28150
  type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";
27997
28151
  type PositionAlignSetting = "auto" | "center" | "line-left" | "line-right";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.151",
3
+ "version": "0.0.153",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],