Skip to content

Commit 72e9691

Browse files
committed
rebuild after merge
1 parent dd56267 commit 72e9691

File tree

2 files changed

+2
-159
lines changed

2 files changed

+2
-159
lines changed

baselines/webworker.generated.d.ts

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -955,10 +955,6 @@ declare var FormData: {
955955
new(form?: object): FormData;
956956
};
957957

958-
interface GlobalFetch {
959-
fetch(input?: Request | string, init?: RequestInit): Promise<Response>;
960-
}
961-
962958
interface Headers {
963959
append(name: string, value: string): void;
964960
delete(name: string): void;
@@ -1272,10 +1268,6 @@ declare var NavigationPreloadManager: {
12721268
new(): NavigationPreloadManager;
12731269
};
12741270

1275-
interface NavigatorBeacon {
1276-
sendBeacon(url: string, data?: Blob | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | FormData | string | null): boolean;
1277-
}
1278-
12791271
interface NavigatorConcurrentHardware {
12801272
readonly hardwareConcurrency: number;
12811273
}
@@ -1902,11 +1894,6 @@ declare var WebSocket: {
19021894
readonly OPEN: number;
19031895
};
19041896

1905-
interface WindowBase64 {
1906-
atob(encodedString: string): string;
1907-
btoa(rawString: string): string;
1908-
}
1909-
19101897
interface WindowClient extends Client {
19111898
readonly ancestorOrigins: ReadonlyArray<string>;
19121899
readonly focused: boolean;
@@ -1920,18 +1907,6 @@ declare var WindowClient: {
19201907
new(): WindowClient;
19211908
};
19221909

1923-
interface WindowConsole {
1924-
readonly console: Console;
1925-
}
1926-
1927-
interface WindowOrWorkerGlobalScope {
1928-
}
1929-
1930-
declare var WindowOrWorkerGlobalScope: {
1931-
prototype: WindowOrWorkerGlobalScope;
1932-
new(): WindowOrWorkerGlobalScope;
1933-
};
1934-
19351910
interface WorkerEventMap extends AbstractWorkerEventMap {
19361911
"message": MessageEvent;
19371912
"messageerror": MessageEvent;
@@ -2011,19 +1986,6 @@ declare var WorkerNavigator: {
20111986
new(): WorkerNavigator;
20121987
};
20131988

2014-
interface WorkerUtils extends WindowBase64 {
2015-
readonly indexedDB: IDBFactory;
2016-
readonly msIndexedDB: IDBFactory;
2017-
readonly navigator: WorkerNavigator;
2018-
clearImmediate(handle: number): void;
2019-
clearInterval(handle: number): void;
2020-
clearTimeout(handle: number): void;
2021-
importScripts(...urls: string[]): void;
2022-
setImmediate(handler: any, ...args: any[]): number;
2023-
setInterval(handler: any, timeout?: any, ...args: any[]): number;
2024-
setTimeout(handler: any, timeout?: any, ...args: any[]): number;
2025-
}
2026-
20271989
interface XMLHttpRequestEventMap extends XMLHttpRequestEventTargetEventMap {
20281990
"readystatechange": Event;
20291991
}

inputfiles/knownWorkerTypes.json

Lines changed: 2 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -1,127 +1,8 @@
11
[
2-
"ClientQueryOptions",
3-
"ExtendableEventInit",
4-
"ExtendableMessageEventInit",
5-
"FetchEventInit",
6-
"NotificationEventInit",
7-
"PushEventInit",
8-
"SyncEventInit",
9-
"Algorithm",
10-
"CacheQueryOptions",
11-
"CloseEventInit",
12-
"EventInit",
13-
"GetNotificationOptions",
14-
"IDBIndexParameters",
15-
"IDBObjectStoreParameters",
16-
"KeyAlgorithm",
17-
"MessageEventInit",
18-
"NotificationOptions",
19-
"PushSubscriptionOptionsInit",
20-
"RequestInit",
21-
"ResponseInit",
22-
"DOMMatrixInit",
23-
"DOMMatrix2DInit",
24-
"DOMPointInit",
25-
"DOMQuadInit",
26-
"DOMRectInit",
27-
"BlobPart",
28-
"IDBKeyRange",
29-
"MessageEventSource",
30-
"MessagePort",
31-
"NavigationPreloadState",
32-
"NotificationAction",
33-
"PerformanceEntryList",
34-
"PerformanceObserverCallback",
35-
"PerformanceObserverInit",
36-
"PromiseRejectionEventInit",
37-
"PushSubscriptionJSON",
38-
"RegistrationOptions",
39-
"ServiceWorkerUpdateViaCache",
40-
"VibratePattern",
41-
"WorkerType",
42-
"AbstractWorker",
43-
"Body",
44-
"GlobalFetch",
45-
"NavigatorBeacon",
46-
"NavigatorConcurrentHardware",
47-
"NavigatorID",
48-
"NavigatorOnLine",
49-
"WindowBase64",
50-
"WindowConsole",
51-
"Client",
52-
"Clients",
53-
"DedicatedWorkerGlobalScope",
54-
"ServiceWorkerGlobalScope",
55-
"WindowClient",
56-
"WorkerGlobalScope",
57-
"WorkerOptions",
58-
"WorkerLocation",
59-
"WorkerNavigator",
60-
"WorkerUtils",
61-
"OnErrorEventHandlerNonNull",
62-
"OnErrorEventHandler",
63-
"EventListener",
64-
"ErrorEventHandler",
65-
"ForEachCallback",
66-
"FunctionStringCallback",
67-
"NotificationPermissionCallback",
68-
"PushMessageDataInit",
69-
"AAGUID",
70-
"AlgorithmIdentifier",
71-
"BodyInit",
72-
"ByteString",
73-
"CryptoOperationData",
74-
"GLbitfield",
75-
"GLboolean",
76-
"GLbyte",
77-
"GLclampf",
78-
"GLenum",
79-
"GLfloat",
80-
"GLint",
81-
"GLintptr",
82-
"GLshort",
83-
"GLsizei",
84-
"GLsizeiptr",
85-
"GLubyte",
86-
"GLuint",
87-
"GLushort",
88-
"HeadersInit",
89-
"IDBKeyPath",
90-
"JSON",
91-
"KeyFormat",
92-
"KeyType",
93-
"KeyUsage",
94-
"RequestInfo",
95-
"USVString",
96-
"payloadtype",
97-
"IDBCursorDirection",
98-
"IDBRequestReadyState",
99-
"IDBTransactionMode",
100-
"MediaKeyStatus",
101-
"NotificationDirection",
102-
"NotificationPermission",
103-
"PushEncryptionKeyName",
104-
"PushPermissionState",
105-
"ReferrerPolicy",
106-
"RequestCache",
107-
"RequestCredentials",
108-
"RequestDestination",
109-
"RequestMode",
110-
"RequestRedirect",
111-
"RequestType",
112-
"ResponseType",
113-
"ServiceWorkerState",
114-
"TextDecodeOptions",
115-
"TextDecoderOptions",
116-
"VisibilityState",
117-
"XMLHttpRequestResponseType",
1182
"ClientTypes",
1193
"IDBArrayKey",
120-
"IDBVersionChangeEventInit",
121-
"BufferSource",
122-
"NavigatorLanguage",
123-
"WindowOrWorkerGlobalScope",
1244
"IDBValidKey",
1255
"MessageEventSource",
126-
"PromiseRejectionEventInit"
6+
"PromiseRejectionEventInit",
7+
"OnErrorEventHandlerNonNull"
1278
]

0 commit comments

Comments
 (0)