@types/web 0.0.233 → 0.0.235
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 +1 -1
- package/index.d.ts +43 -4
- package/package.json +1 -1
- package/ts5.5/index.d.ts +43 -4
- package/ts5.6/index.d.ts +43 -4
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.
|
|
50
|
+
You can read what changed in version 0.0.235 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.235.
|
package/index.d.ts
CHANGED
|
@@ -186,26 +186,57 @@ interface AudioWorkletNodeOptions extends AudioNodeOptions {
|
|
|
186
186
|
interface AuthenticationExtensionsClientInputs {
|
|
187
187
|
appid?: string;
|
|
188
188
|
credProps?: boolean;
|
|
189
|
+
credentialProtectionPolicy?: string;
|
|
190
|
+
enforceCredentialProtectionPolicy?: boolean;
|
|
189
191
|
hmacCreateSecret?: boolean;
|
|
192
|
+
largeBlob?: AuthenticationExtensionsLargeBlobInputs;
|
|
190
193
|
minPinLength?: boolean;
|
|
191
194
|
prf?: AuthenticationExtensionsPRFInputs;
|
|
192
195
|
}
|
|
193
196
|
|
|
194
197
|
interface AuthenticationExtensionsClientInputsJSON {
|
|
198
|
+
appid?: string;
|
|
199
|
+
credProps?: boolean;
|
|
200
|
+
largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON;
|
|
201
|
+
prf?: AuthenticationExtensionsPRFInputsJSON;
|
|
195
202
|
}
|
|
196
203
|
|
|
197
204
|
interface AuthenticationExtensionsClientOutputs {
|
|
198
205
|
appid?: boolean;
|
|
199
206
|
credProps?: CredentialPropertiesOutput;
|
|
200
207
|
hmacCreateSecret?: boolean;
|
|
208
|
+
largeBlob?: AuthenticationExtensionsLargeBlobOutputs;
|
|
201
209
|
prf?: AuthenticationExtensionsPRFOutputs;
|
|
202
210
|
}
|
|
203
211
|
|
|
212
|
+
interface AuthenticationExtensionsLargeBlobInputs {
|
|
213
|
+
read?: boolean;
|
|
214
|
+
support?: string;
|
|
215
|
+
write?: BufferSource;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
interface AuthenticationExtensionsLargeBlobInputsJSON {
|
|
219
|
+
read?: boolean;
|
|
220
|
+
support?: string;
|
|
221
|
+
write?: Base64URLString;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
interface AuthenticationExtensionsLargeBlobOutputs {
|
|
225
|
+
blob?: ArrayBuffer;
|
|
226
|
+
supported?: boolean;
|
|
227
|
+
written?: boolean;
|
|
228
|
+
}
|
|
229
|
+
|
|
204
230
|
interface AuthenticationExtensionsPRFInputs {
|
|
205
231
|
eval?: AuthenticationExtensionsPRFValues;
|
|
206
232
|
evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
|
|
207
233
|
}
|
|
208
234
|
|
|
235
|
+
interface AuthenticationExtensionsPRFInputsJSON {
|
|
236
|
+
eval?: AuthenticationExtensionsPRFValuesJSON;
|
|
237
|
+
evalByCredential?: Record<string, AuthenticationExtensionsPRFValuesJSON>;
|
|
238
|
+
}
|
|
239
|
+
|
|
209
240
|
interface AuthenticationExtensionsPRFOutputs {
|
|
210
241
|
enabled?: boolean;
|
|
211
242
|
results?: AuthenticationExtensionsPRFValues;
|
|
@@ -216,6 +247,11 @@ interface AuthenticationExtensionsPRFValues {
|
|
|
216
247
|
second?: BufferSource;
|
|
217
248
|
}
|
|
218
249
|
|
|
250
|
+
interface AuthenticationExtensionsPRFValuesJSON {
|
|
251
|
+
first: Base64URLString;
|
|
252
|
+
second?: Base64URLString;
|
|
253
|
+
}
|
|
254
|
+
|
|
219
255
|
interface AuthenticatorSelectionCriteria {
|
|
220
256
|
authenticatorAttachment?: AuthenticatorAttachment;
|
|
221
257
|
requireResidentKey?: boolean;
|
|
@@ -10115,7 +10151,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
10115
10151
|
"canplay": Event;
|
|
10116
10152
|
"canplaythrough": Event;
|
|
10117
10153
|
"change": Event;
|
|
10118
|
-
"click":
|
|
10154
|
+
"click": PointerEvent;
|
|
10119
10155
|
"close": Event;
|
|
10120
10156
|
"compositionend": CompositionEvent;
|
|
10121
10157
|
"compositionstart": CompositionEvent;
|
|
@@ -10262,7 +10298,7 @@ interface GlobalEventHandlers {
|
|
|
10262
10298
|
*
|
|
10263
10299
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event)
|
|
10264
10300
|
*/
|
|
10265
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
10301
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
10266
10302
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
10267
10303
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
10268
10304
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
@@ -23637,7 +23673,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
23637
23673
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
|
|
23638
23674
|
unregister(): Promise<boolean>;
|
|
23639
23675
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
|
|
23640
|
-
update(): Promise<
|
|
23676
|
+
update(): Promise<ServiceWorkerRegistration>;
|
|
23641
23677
|
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
23642
23678
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
23643
23679
|
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -23797,6 +23833,7 @@ declare var SourceBufferList: {
|
|
|
23797
23833
|
|
|
23798
23834
|
/**
|
|
23799
23835
|
* The **`SpeechRecognitionAlternative`** interface of the Web Speech API represents a single word that has been recognized by the speech recognition service.
|
|
23836
|
+
* Available only in secure contexts.
|
|
23800
23837
|
*
|
|
23801
23838
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionAlternative)
|
|
23802
23839
|
*/
|
|
@@ -23814,6 +23851,7 @@ declare var SpeechRecognitionAlternative: {
|
|
|
23814
23851
|
|
|
23815
23852
|
/**
|
|
23816
23853
|
* The **`SpeechRecognitionResult`** interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects.
|
|
23854
|
+
* Available only in secure contexts.
|
|
23817
23855
|
*
|
|
23818
23856
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult)
|
|
23819
23857
|
*/
|
|
@@ -23834,6 +23872,7 @@ declare var SpeechRecognitionResult: {
|
|
|
23834
23872
|
|
|
23835
23873
|
/**
|
|
23836
23874
|
* The **`SpeechRecognitionResultList`** interface of the Web Speech API represents a list of SpeechRecognitionResult objects, or a single one if results are being captured in SpeechRecognition.continuous mode.
|
|
23875
|
+
* Available only in secure contexts.
|
|
23837
23876
|
*
|
|
23838
23877
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResultList)
|
|
23839
23878
|
*/
|
|
@@ -30219,7 +30258,7 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
|
|
|
30219
30258
|
*
|
|
30220
30259
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event)
|
|
30221
30260
|
*/
|
|
30222
|
-
declare var onclick: ((this: Window, ev:
|
|
30261
|
+
declare var onclick: ((this: Window, ev: PointerEvent) => any) | null;
|
|
30223
30262
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
30224
30263
|
declare var onclose: ((this: Window, ev: Event) => any) | null;
|
|
30225
30264
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -186,26 +186,57 @@ interface AudioWorkletNodeOptions extends AudioNodeOptions {
|
|
|
186
186
|
interface AuthenticationExtensionsClientInputs {
|
|
187
187
|
appid?: string;
|
|
188
188
|
credProps?: boolean;
|
|
189
|
+
credentialProtectionPolicy?: string;
|
|
190
|
+
enforceCredentialProtectionPolicy?: boolean;
|
|
189
191
|
hmacCreateSecret?: boolean;
|
|
192
|
+
largeBlob?: AuthenticationExtensionsLargeBlobInputs;
|
|
190
193
|
minPinLength?: boolean;
|
|
191
194
|
prf?: AuthenticationExtensionsPRFInputs;
|
|
192
195
|
}
|
|
193
196
|
|
|
194
197
|
interface AuthenticationExtensionsClientInputsJSON {
|
|
198
|
+
appid?: string;
|
|
199
|
+
credProps?: boolean;
|
|
200
|
+
largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON;
|
|
201
|
+
prf?: AuthenticationExtensionsPRFInputsJSON;
|
|
195
202
|
}
|
|
196
203
|
|
|
197
204
|
interface AuthenticationExtensionsClientOutputs {
|
|
198
205
|
appid?: boolean;
|
|
199
206
|
credProps?: CredentialPropertiesOutput;
|
|
200
207
|
hmacCreateSecret?: boolean;
|
|
208
|
+
largeBlob?: AuthenticationExtensionsLargeBlobOutputs;
|
|
201
209
|
prf?: AuthenticationExtensionsPRFOutputs;
|
|
202
210
|
}
|
|
203
211
|
|
|
212
|
+
interface AuthenticationExtensionsLargeBlobInputs {
|
|
213
|
+
read?: boolean;
|
|
214
|
+
support?: string;
|
|
215
|
+
write?: BufferSource;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
interface AuthenticationExtensionsLargeBlobInputsJSON {
|
|
219
|
+
read?: boolean;
|
|
220
|
+
support?: string;
|
|
221
|
+
write?: Base64URLString;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
interface AuthenticationExtensionsLargeBlobOutputs {
|
|
225
|
+
blob?: ArrayBuffer;
|
|
226
|
+
supported?: boolean;
|
|
227
|
+
written?: boolean;
|
|
228
|
+
}
|
|
229
|
+
|
|
204
230
|
interface AuthenticationExtensionsPRFInputs {
|
|
205
231
|
eval?: AuthenticationExtensionsPRFValues;
|
|
206
232
|
evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
|
|
207
233
|
}
|
|
208
234
|
|
|
235
|
+
interface AuthenticationExtensionsPRFInputsJSON {
|
|
236
|
+
eval?: AuthenticationExtensionsPRFValuesJSON;
|
|
237
|
+
evalByCredential?: Record<string, AuthenticationExtensionsPRFValuesJSON>;
|
|
238
|
+
}
|
|
239
|
+
|
|
209
240
|
interface AuthenticationExtensionsPRFOutputs {
|
|
210
241
|
enabled?: boolean;
|
|
211
242
|
results?: AuthenticationExtensionsPRFValues;
|
|
@@ -216,6 +247,11 @@ interface AuthenticationExtensionsPRFValues {
|
|
|
216
247
|
second?: BufferSource;
|
|
217
248
|
}
|
|
218
249
|
|
|
250
|
+
interface AuthenticationExtensionsPRFValuesJSON {
|
|
251
|
+
first: Base64URLString;
|
|
252
|
+
second?: Base64URLString;
|
|
253
|
+
}
|
|
254
|
+
|
|
219
255
|
interface AuthenticatorSelectionCriteria {
|
|
220
256
|
authenticatorAttachment?: AuthenticatorAttachment;
|
|
221
257
|
requireResidentKey?: boolean;
|
|
@@ -10105,7 +10141,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
10105
10141
|
"canplay": Event;
|
|
10106
10142
|
"canplaythrough": Event;
|
|
10107
10143
|
"change": Event;
|
|
10108
|
-
"click":
|
|
10144
|
+
"click": PointerEvent;
|
|
10109
10145
|
"close": Event;
|
|
10110
10146
|
"compositionend": CompositionEvent;
|
|
10111
10147
|
"compositionstart": CompositionEvent;
|
|
@@ -10252,7 +10288,7 @@ interface GlobalEventHandlers {
|
|
|
10252
10288
|
*
|
|
10253
10289
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event)
|
|
10254
10290
|
*/
|
|
10255
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
10291
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
10256
10292
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
10257
10293
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
10258
10294
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
@@ -23616,7 +23652,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
23616
23652
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
|
|
23617
23653
|
unregister(): Promise<boolean>;
|
|
23618
23654
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
|
|
23619
|
-
update(): Promise<
|
|
23655
|
+
update(): Promise<ServiceWorkerRegistration>;
|
|
23620
23656
|
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
23621
23657
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
23622
23658
|
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -23776,6 +23812,7 @@ declare var SourceBufferList: {
|
|
|
23776
23812
|
|
|
23777
23813
|
/**
|
|
23778
23814
|
* The **`SpeechRecognitionAlternative`** interface of the Web Speech API represents a single word that has been recognized by the speech recognition service.
|
|
23815
|
+
* Available only in secure contexts.
|
|
23779
23816
|
*
|
|
23780
23817
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionAlternative)
|
|
23781
23818
|
*/
|
|
@@ -23793,6 +23830,7 @@ declare var SpeechRecognitionAlternative: {
|
|
|
23793
23830
|
|
|
23794
23831
|
/**
|
|
23795
23832
|
* The **`SpeechRecognitionResult`** interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects.
|
|
23833
|
+
* Available only in secure contexts.
|
|
23796
23834
|
*
|
|
23797
23835
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult)
|
|
23798
23836
|
*/
|
|
@@ -23813,6 +23851,7 @@ declare var SpeechRecognitionResult: {
|
|
|
23813
23851
|
|
|
23814
23852
|
/**
|
|
23815
23853
|
* The **`SpeechRecognitionResultList`** interface of the Web Speech API represents a list of SpeechRecognitionResult objects, or a single one if results are being captured in SpeechRecognition.continuous mode.
|
|
23854
|
+
* Available only in secure contexts.
|
|
23816
23855
|
*
|
|
23817
23856
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResultList)
|
|
23818
23857
|
*/
|
|
@@ -30197,7 +30236,7 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
|
|
|
30197
30236
|
*
|
|
30198
30237
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event)
|
|
30199
30238
|
*/
|
|
30200
|
-
declare var onclick: ((this: Window, ev:
|
|
30239
|
+
declare var onclick: ((this: Window, ev: PointerEvent) => any) | null;
|
|
30201
30240
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
30202
30241
|
declare var onclose: ((this: Window, ev: Event) => any) | null;
|
|
30203
30242
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -186,26 +186,57 @@ interface AudioWorkletNodeOptions extends AudioNodeOptions {
|
|
|
186
186
|
interface AuthenticationExtensionsClientInputs {
|
|
187
187
|
appid?: string;
|
|
188
188
|
credProps?: boolean;
|
|
189
|
+
credentialProtectionPolicy?: string;
|
|
190
|
+
enforceCredentialProtectionPolicy?: boolean;
|
|
189
191
|
hmacCreateSecret?: boolean;
|
|
192
|
+
largeBlob?: AuthenticationExtensionsLargeBlobInputs;
|
|
190
193
|
minPinLength?: boolean;
|
|
191
194
|
prf?: AuthenticationExtensionsPRFInputs;
|
|
192
195
|
}
|
|
193
196
|
|
|
194
197
|
interface AuthenticationExtensionsClientInputsJSON {
|
|
198
|
+
appid?: string;
|
|
199
|
+
credProps?: boolean;
|
|
200
|
+
largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON;
|
|
201
|
+
prf?: AuthenticationExtensionsPRFInputsJSON;
|
|
195
202
|
}
|
|
196
203
|
|
|
197
204
|
interface AuthenticationExtensionsClientOutputs {
|
|
198
205
|
appid?: boolean;
|
|
199
206
|
credProps?: CredentialPropertiesOutput;
|
|
200
207
|
hmacCreateSecret?: boolean;
|
|
208
|
+
largeBlob?: AuthenticationExtensionsLargeBlobOutputs;
|
|
201
209
|
prf?: AuthenticationExtensionsPRFOutputs;
|
|
202
210
|
}
|
|
203
211
|
|
|
212
|
+
interface AuthenticationExtensionsLargeBlobInputs {
|
|
213
|
+
read?: boolean;
|
|
214
|
+
support?: string;
|
|
215
|
+
write?: BufferSource;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
interface AuthenticationExtensionsLargeBlobInputsJSON {
|
|
219
|
+
read?: boolean;
|
|
220
|
+
support?: string;
|
|
221
|
+
write?: Base64URLString;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
interface AuthenticationExtensionsLargeBlobOutputs {
|
|
225
|
+
blob?: ArrayBuffer;
|
|
226
|
+
supported?: boolean;
|
|
227
|
+
written?: boolean;
|
|
228
|
+
}
|
|
229
|
+
|
|
204
230
|
interface AuthenticationExtensionsPRFInputs {
|
|
205
231
|
eval?: AuthenticationExtensionsPRFValues;
|
|
206
232
|
evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
|
|
207
233
|
}
|
|
208
234
|
|
|
235
|
+
interface AuthenticationExtensionsPRFInputsJSON {
|
|
236
|
+
eval?: AuthenticationExtensionsPRFValuesJSON;
|
|
237
|
+
evalByCredential?: Record<string, AuthenticationExtensionsPRFValuesJSON>;
|
|
238
|
+
}
|
|
239
|
+
|
|
209
240
|
interface AuthenticationExtensionsPRFOutputs {
|
|
210
241
|
enabled?: boolean;
|
|
211
242
|
results?: AuthenticationExtensionsPRFValues;
|
|
@@ -216,6 +247,11 @@ interface AuthenticationExtensionsPRFValues {
|
|
|
216
247
|
second?: BufferSource;
|
|
217
248
|
}
|
|
218
249
|
|
|
250
|
+
interface AuthenticationExtensionsPRFValuesJSON {
|
|
251
|
+
first: Base64URLString;
|
|
252
|
+
second?: Base64URLString;
|
|
253
|
+
}
|
|
254
|
+
|
|
219
255
|
interface AuthenticatorSelectionCriteria {
|
|
220
256
|
authenticatorAttachment?: AuthenticatorAttachment;
|
|
221
257
|
requireResidentKey?: boolean;
|
|
@@ -10115,7 +10151,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
10115
10151
|
"canplay": Event;
|
|
10116
10152
|
"canplaythrough": Event;
|
|
10117
10153
|
"change": Event;
|
|
10118
|
-
"click":
|
|
10154
|
+
"click": PointerEvent;
|
|
10119
10155
|
"close": Event;
|
|
10120
10156
|
"compositionend": CompositionEvent;
|
|
10121
10157
|
"compositionstart": CompositionEvent;
|
|
@@ -10262,7 +10298,7 @@ interface GlobalEventHandlers {
|
|
|
10262
10298
|
*
|
|
10263
10299
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event)
|
|
10264
10300
|
*/
|
|
10265
|
-
onclick: ((this: GlobalEventHandlers, ev:
|
|
10301
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
10266
10302
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
10267
10303
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
10268
10304
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|
|
@@ -23637,7 +23673,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
23637
23673
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
|
|
23638
23674
|
unregister(): Promise<boolean>;
|
|
23639
23675
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
|
|
23640
|
-
update(): Promise<
|
|
23676
|
+
update(): Promise<ServiceWorkerRegistration>;
|
|
23641
23677
|
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
23642
23678
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
23643
23679
|
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -23797,6 +23833,7 @@ declare var SourceBufferList: {
|
|
|
23797
23833
|
|
|
23798
23834
|
/**
|
|
23799
23835
|
* The **`SpeechRecognitionAlternative`** interface of the Web Speech API represents a single word that has been recognized by the speech recognition service.
|
|
23836
|
+
* Available only in secure contexts.
|
|
23800
23837
|
*
|
|
23801
23838
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionAlternative)
|
|
23802
23839
|
*/
|
|
@@ -23814,6 +23851,7 @@ declare var SpeechRecognitionAlternative: {
|
|
|
23814
23851
|
|
|
23815
23852
|
/**
|
|
23816
23853
|
* The **`SpeechRecognitionResult`** interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects.
|
|
23854
|
+
* Available only in secure contexts.
|
|
23817
23855
|
*
|
|
23818
23856
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult)
|
|
23819
23857
|
*/
|
|
@@ -23834,6 +23872,7 @@ declare var SpeechRecognitionResult: {
|
|
|
23834
23872
|
|
|
23835
23873
|
/**
|
|
23836
23874
|
* The **`SpeechRecognitionResultList`** interface of the Web Speech API represents a list of SpeechRecognitionResult objects, or a single one if results are being captured in SpeechRecognition.continuous mode.
|
|
23875
|
+
* Available only in secure contexts.
|
|
23837
23876
|
*
|
|
23838
23877
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResultList)
|
|
23839
23878
|
*/
|
|
@@ -30219,7 +30258,7 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
|
|
|
30219
30258
|
*
|
|
30220
30259
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event)
|
|
30221
30260
|
*/
|
|
30222
|
-
declare var onclick: ((this: Window, ev:
|
|
30261
|
+
declare var onclick: ((this: Window, ev: PointerEvent) => any) | null;
|
|
30223
30262
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
30224
30263
|
declare var onclose: ((this: Window, ev: Event) => any) | null;
|
|
30225
30264
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */
|