Skip to content

Commit 90af280

Browse files
chore(package): update webref (#62)
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
1 parent 2a812f4 commit 90af280

4 files changed

Lines changed: 27 additions & 31 deletions

File tree

baselines/dom.generated.d.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10015,19 +10015,19 @@ interface MimeType {
1001510015
/**
1001610016
* Returns the MIME type's description.
1001710017
*/
10018-
readonly description: string;
10018+
readonly description: undefined;
1001910019
/**
1002010020
* Returns the Plugin object that implements this MIME type.
1002110021
*/
10022-
readonly enabledPlugin: Plugin;
10022+
readonly enabledPlugin: undefined;
1002310023
/**
1002410024
* Returns the MIME type's typical file extensions, in a comma-separated list.
1002510025
*/
10026-
readonly suffixes: string;
10026+
readonly suffixes: undefined;
1002710027
/**
1002810028
* Returns the MIME type.
1002910029
*/
10030-
readonly type: string;
10030+
readonly type: undefined;
1003110031
}
1003210032

1003310033
declare var MimeType: {
@@ -10038,9 +10038,9 @@ declare var MimeType: {
1003810038
/** Returns an array of MimeType instances, each of which contains information about a supported browser plugins. This object is returned by NavigatorPlugins.mimeTypes. */
1003910039
interface MimeTypeArray {
1004010040
readonly length: number;
10041-
item(index: number): MimeType | null;
10042-
namedItem(name: string): MimeType | null;
10043-
[index: number]: MimeType;
10041+
item(index: number): any;
10042+
namedItem(name: string): any;
10043+
[index: number]: any;
1004410044
}
1004510045

1004610046
declare var MimeTypeArray: {
@@ -11187,25 +11187,25 @@ interface Plugin {
1118711187
/**
1118811188
* Returns the plugin's description.
1118911189
*/
11190-
readonly description: string;
11190+
readonly description: undefined;
1119111191
/**
1119211192
* Returns the plugin library's filename, if applicable on the current platform.
1119311193
*/
11194-
readonly filename: string;
11194+
readonly filename: undefined;
1119511195
/**
1119611196
* Returns the number of MIME types, represented by MimeType objects, supported by the plugin.
1119711197
*/
11198-
readonly length: number;
11198+
readonly length: undefined;
1119911199
/**
1120011200
* Returns the plugin's name.
1120111201
*/
11202-
readonly name: string;
11202+
readonly name: undefined;
1120311203
/**
1120411204
* Returns the specified MimeType object.
1120511205
*/
11206-
item(index: number): MimeType | null;
11207-
namedItem(name: string): MimeType | null;
11208-
[index: number]: MimeType;
11206+
item(index: number): void;
11207+
namedItem(name: string): void;
11208+
[index: number]: undefined;
1120911209
}
1121011210

1121111211
declare var Plugin: {
@@ -11216,10 +11216,10 @@ declare var Plugin: {
1121611216
/** Used to store a list of Plugin objects describing the available plugins; it's returned by the window.navigator.plugins property. The PluginArray is not a JavaScript array, but has the length property and supports accessing individual items using bracket notation (plugins[2]), as well as via item(index) and namedItem("name") methods. */
1121711217
interface PluginArray {
1121811218
readonly length: number;
11219-
item(index: number): Plugin | null;
11220-
namedItem(name: string): Plugin | null;
11221-
refresh(reload?: boolean): void;
11222-
[index: number]: Plugin;
11219+
item(index: number): any;
11220+
namedItem(name: string): any;
11221+
refresh(): void;
11222+
[index: number]: any;
1122311223
}
1122411224

1122511225
declare var PluginArray: {

baselines/dom.iterable.generated.d.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ interface MessageEvent<T = any> {
141141
}
142142

143143
interface MimeTypeArray {
144-
[Symbol.iterator](): IterableIterator<MimeType>;
144+
[Symbol.iterator](): IterableIterator<any>;
145145
}
146146

147147
interface NamedNodeMap {
@@ -185,12 +185,8 @@ interface NodeListOf<TNode extends Node> {
185185
values(): IterableIterator<TNode>;
186186
}
187187

188-
interface Plugin {
189-
[Symbol.iterator](): IterableIterator<MimeType>;
190-
}
191-
192188
interface PluginArray {
193-
[Symbol.iterator](): IterableIterator<Plugin>;
189+
[Symbol.iterator](): IterableIterator<any>;
194190
}
195191

196192
interface RTCStatsReport extends ReadonlyMap<string, any> {

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"styleless-innertext": "^1.1.2",
5353
"typescript": "^4.2.0-dev.20210131",
5454
"webidl2": "^23.13.0",
55-
"webref": "github:w3c/webref#35b171048f57acd6b9d8b7cc60bacafba21dd55a"
55+
"webref": "github:w3c/webref#d40ac3b441b796ec7810c27439549932978b44b6"
5656
},
5757
"files": [
5858
"baselines/*"

0 commit comments

Comments
 (0)