@@ -10180,22 +10180,22 @@ interface MimeType {
10180
10180
* Returns the MIME type's description.
10181
10181
* @deprecated
10182
10182
*/
10183
- readonly description: undefined ;
10183
+ readonly description: string ;
10184
10184
/**
10185
10185
* Returns the Plugin object that implements this MIME type.
10186
10186
* @deprecated
10187
10187
*/
10188
- readonly enabledPlugin: undefined ;
10188
+ readonly enabledPlugin: Plugin ;
10189
10189
/**
10190
10190
* Returns the MIME type's typical file extensions, in a comma-separated list.
10191
10191
* @deprecated
10192
10192
*/
10193
- readonly suffixes: undefined ;
10193
+ readonly suffixes: string ;
10194
10194
/**
10195
10195
* Returns the MIME type.
10196
10196
* @deprecated
10197
10197
*/
10198
- readonly type: undefined ;
10198
+ readonly type: string ;
10199
10199
}
10200
10200
10201
10201
/** @deprecated */
@@ -10212,10 +10212,10 @@ interface MimeTypeArray {
10212
10212
/** @deprecated */
10213
10213
readonly length: number;
10214
10214
/** @deprecated */
10215
- item(index: number): any ;
10215
+ item(index: number): MimeType | null ;
10216
10216
/** @deprecated */
10217
- namedItem(name: string): any ;
10218
- [index: number]: any ;
10217
+ namedItem(name: string): MimeType | null ;
10218
+ [index: number]: MimeType ;
10219
10219
}
10220
10220
10221
10221
/** @deprecated */
@@ -10260,11 +10260,17 @@ declare var MouseEvent: {
10260
10260
* @deprecated DOM4 [DOM] provides a new mechanism using a MutationObserver interface which addresses the use cases that mutation events solve, but in a more performant manner. Thus, this specification describes mutation events for reference and completeness of legacy behavior, but deprecates the use of the MutationEvent interface.
10261
10261
*/
10262
10262
interface MutationEvent extends Event {
10263
+ /** @deprecated */
10263
10264
readonly attrChange: number;
10265
+ /** @deprecated */
10264
10266
readonly attrName: string;
10267
+ /** @deprecated */
10265
10268
readonly newValue: string;
10269
+ /** @deprecated */
10266
10270
readonly prevValue: string;
10271
+ /** @deprecated */
10267
10272
readonly relatedNode: Node | null;
10273
+ /** @deprecated */
10268
10274
initMutationEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, relatedNodeArg?: Node | null, prevValueArg?: string, newValueArg?: string, attrNameArg?: string, attrChangeArg?: number): void;
10269
10275
readonly ADDITION: number;
10270
10276
readonly MODIFICATION: number;
@@ -10439,7 +10445,6 @@ interface NavigatorOnLine {
10439
10445
readonly onLine: boolean;
10440
10446
}
10441
10447
10442
- /** @deprecated */
10443
10448
interface NavigatorPlugins {
10444
10449
/** @deprecated */
10445
10450
readonly mimeTypes: MimeTypeArray;
@@ -11399,30 +11404,30 @@ interface Plugin {
11399
11404
* Returns the plugin's description.
11400
11405
* @deprecated
11401
11406
*/
11402
- readonly description: undefined ;
11407
+ readonly description: string ;
11403
11408
/**
11404
11409
* Returns the plugin library's filename, if applicable on the current platform.
11405
11410
* @deprecated
11406
11411
*/
11407
- readonly filename: undefined ;
11412
+ readonly filename: string ;
11408
11413
/**
11409
11414
* Returns the number of MIME types, represented by MimeType objects, supported by the plugin.
11410
11415
* @deprecated
11411
11416
*/
11412
- readonly length: undefined ;
11417
+ readonly length: number ;
11413
11418
/**
11414
11419
* Returns the plugin's name.
11415
11420
* @deprecated
11416
11421
*/
11417
- readonly name: undefined ;
11422
+ readonly name: string ;
11418
11423
/**
11419
11424
* Returns the specified MimeType object.
11420
11425
* @deprecated
11421
11426
*/
11422
- item(index: number): void ;
11427
+ item(index: number): MimeType | null ;
11423
11428
/** @deprecated */
11424
- namedItem(name: string): void ;
11425
- [index: number]: undefined ;
11429
+ namedItem(name: string): MimeType | null ;
11430
+ [index: number]: MimeType ;
11426
11431
}
11427
11432
11428
11433
/** @deprecated */
@@ -11439,12 +11444,12 @@ interface PluginArray {
11439
11444
/** @deprecated */
11440
11445
readonly length: number;
11441
11446
/** @deprecated */
11442
- item(index: number): any ;
11447
+ item(index: number): Plugin | null ;
11443
11448
/** @deprecated */
11444
- namedItem(name: string): any ;
11449
+ namedItem(name: string): Plugin | null ;
11445
11450
/** @deprecated */
11446
11451
refresh(): void;
11447
- [index: number]: any ;
11452
+ [index: number]: Plugin ;
11448
11453
}
11449
11454
11450
11455
/** @deprecated */
@@ -11715,6 +11720,7 @@ interface RTCPeerConnectionEventMap {
11715
11720
"connectionstatechange": Event;
11716
11721
"datachannel": RTCDataChannelEvent;
11717
11722
"icecandidate": RTCPeerConnectionIceEvent;
11723
+ "icecandidateerror": Event;
11718
11724
"iceconnectionstatechange": Event;
11719
11725
"icegatheringstatechange": Event;
11720
11726
"negotiationneeded": Event;
@@ -11734,6 +11740,7 @@ interface RTCPeerConnection extends EventTarget {
11734
11740
onconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;
11735
11741
ondatachannel: ((this: RTCPeerConnection, ev: RTCDataChannelEvent) => any) | null;
11736
11742
onicecandidate: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceEvent) => any) | null;
11743
+ onicecandidateerror: ((this: RTCPeerConnection, ev: Event) => any) | null;
11737
11744
oniceconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;
11738
11745
onicegatheringstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;
11739
11746
onnegotiationneeded: ((this: RTCPeerConnection, ev: Event) => any) | null;
0 commit comments