@@ -10180,22 +10180,22 @@ interface MimeType {
1018010180 * Returns the MIME type's description.
1018110181 * @deprecated
1018210182 */
10183- readonly description: undefined ;
10183+ readonly description: string ;
1018410184 /**
1018510185 * Returns the Plugin object that implements this MIME type.
1018610186 * @deprecated
1018710187 */
10188- readonly enabledPlugin: undefined ;
10188+ readonly enabledPlugin: Plugin ;
1018910189 /**
1019010190 * Returns the MIME type's typical file extensions, in a comma-separated list.
1019110191 * @deprecated
1019210192 */
10193- readonly suffixes: undefined ;
10193+ readonly suffixes: string ;
1019410194 /**
1019510195 * Returns the MIME type.
1019610196 * @deprecated
1019710197 */
10198- readonly type: undefined ;
10198+ readonly type: string ;
1019910199}
1020010200
1020110201/** @deprecated */
@@ -10212,10 +10212,10 @@ interface MimeTypeArray {
1021210212 /** @deprecated */
1021310213 readonly length: number;
1021410214 /** @deprecated */
10215- item(index: number): any ;
10215+ item(index: number): MimeType | null ;
1021610216 /** @deprecated */
10217- namedItem(name: string): any ;
10218- [index: number]: any ;
10217+ namedItem(name: string): MimeType | null ;
10218+ [index: number]: MimeType ;
1021910219}
1022010220
1022110221/** @deprecated */
@@ -10260,11 +10260,17 @@ declare var MouseEvent: {
1026010260 * @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.
1026110261 */
1026210262interface MutationEvent extends Event {
10263+ /** @deprecated */
1026310264 readonly attrChange: number;
10265+ /** @deprecated */
1026410266 readonly attrName: string;
10267+ /** @deprecated */
1026510268 readonly newValue: string;
10269+ /** @deprecated */
1026610270 readonly prevValue: string;
10271+ /** @deprecated */
1026710272 readonly relatedNode: Node | null;
10273+ /** @deprecated */
1026810274 initMutationEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, relatedNodeArg?: Node | null, prevValueArg?: string, newValueArg?: string, attrNameArg?: string, attrChangeArg?: number): void;
1026910275 readonly ADDITION: number;
1027010276 readonly MODIFICATION: number;
@@ -10439,7 +10445,6 @@ interface NavigatorOnLine {
1043910445 readonly onLine: boolean;
1044010446}
1044110447
10442- /** @deprecated */
1044310448interface NavigatorPlugins {
1044410449 /** @deprecated */
1044510450 readonly mimeTypes: MimeTypeArray;
@@ -11399,30 +11404,30 @@ interface Plugin {
1139911404 * Returns the plugin's description.
1140011405 * @deprecated
1140111406 */
11402- readonly description: undefined ;
11407+ readonly description: string ;
1140311408 /**
1140411409 * Returns the plugin library's filename, if applicable on the current platform.
1140511410 * @deprecated
1140611411 */
11407- readonly filename: undefined ;
11412+ readonly filename: string ;
1140811413 /**
1140911414 * Returns the number of MIME types, represented by MimeType objects, supported by the plugin.
1141011415 * @deprecated
1141111416 */
11412- readonly length: undefined ;
11417+ readonly length: number ;
1141311418 /**
1141411419 * Returns the plugin's name.
1141511420 * @deprecated
1141611421 */
11417- readonly name: undefined ;
11422+ readonly name: string ;
1141811423 /**
1141911424 * Returns the specified MimeType object.
1142011425 * @deprecated
1142111426 */
11422- item(index: number): void ;
11427+ item(index: number): MimeType | null ;
1142311428 /** @deprecated */
11424- namedItem(name: string): void ;
11425- [index: number]: undefined ;
11429+ namedItem(name: string): MimeType | null ;
11430+ [index: number]: MimeType ;
1142611431}
1142711432
1142811433/** @deprecated */
@@ -11439,12 +11444,12 @@ interface PluginArray {
1143911444 /** @deprecated */
1144011445 readonly length: number;
1144111446 /** @deprecated */
11442- item(index: number): any ;
11447+ item(index: number): Plugin | null ;
1144311448 /** @deprecated */
11444- namedItem(name: string): any ;
11449+ namedItem(name: string): Plugin | null ;
1144511450 /** @deprecated */
1144611451 refresh(): void;
11447- [index: number]: any ;
11452+ [index: number]: Plugin ;
1144811453}
1144911454
1145011455/** @deprecated */
@@ -11715,6 +11720,7 @@ interface RTCPeerConnectionEventMap {
1171511720 "connectionstatechange": Event;
1171611721 "datachannel": RTCDataChannelEvent;
1171711722 "icecandidate": RTCPeerConnectionIceEvent;
11723+ "icecandidateerror": Event;
1171811724 "iceconnectionstatechange": Event;
1171911725 "icegatheringstatechange": Event;
1172011726 "negotiationneeded": Event;
@@ -11734,6 +11740,7 @@ interface RTCPeerConnection extends EventTarget {
1173411740 onconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;
1173511741 ondatachannel: ((this: RTCPeerConnection, ev: RTCDataChannelEvent) => any) | null;
1173611742 onicecandidate: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceEvent) => any) | null;
11743+ onicecandidateerror: ((this: RTCPeerConnection, ev: Event) => any) | null;
1173711744 oniceconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;
1173811745 onicegatheringstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;
1173911746 onnegotiationneeded: ((this: RTCPeerConnection, ev: Event) => any) | null;
0 commit comments