Skip to content

Commit dedd128

Browse files
committed
fix build
1 parent 7412e2a commit dedd128

13 files changed

Lines changed: 26 additions & 41 deletions

baselines/serviceworker.generated.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10867,7 +10867,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1086710867
*
1086810868
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1086910869
*/
10870-
readonly self: Globalized<WorkerGlobalScope>;
10870+
readonly self: WorkerGlobalScope & typeof globalThis;
1087110871
/**
1087210872
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1087310873
*
@@ -11666,7 +11666,7 @@ declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseR
1166611666
*
1166711667
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1166811668
*/
11669-
declare var self: Globalized<WorkerGlobalScope>;
11669+
declare var self: WorkerGlobalScope & typeof globalThis;
1167011670
/**
1167111671
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1167211672
*
@@ -11758,7 +11758,6 @@ type GLsizei = number;
1175811758
type GLsizeiptr = number;
1175911759
type GLuint = number;
1176011760
type GLuint64 = number;
11761-
type Globalized<T = Window> = T & typeof globalThis;
1176211761
type HashAlgorithmIdentifier = AlgorithmIdentifier;
1176311762
type HeadersInit = [string, string][] | Record<string, string> | Headers;
1176411763
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];

baselines/sharedworker.generated.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10400,7 +10400,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1040010400
*
1040110401
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1040210402
*/
10403-
readonly self: Globalized<WorkerGlobalScope>;
10403+
readonly self: WorkerGlobalScope & typeof globalThis;
1040410404
/**
1040510405
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1040610406
*
@@ -11350,7 +11350,7 @@ declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRe
1135011350
*
1135111351
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1135211352
*/
11353-
declare var self: Globalized<WorkerGlobalScope>;
11353+
declare var self: WorkerGlobalScope & typeof globalThis;
1135411354
/**
1135511355
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1135611356
*
@@ -11441,7 +11441,6 @@ type GLsizei = number;
1144111441
type GLsizeiptr = number;
1144211442
type GLuint = number;
1144311443
type GLuint64 = number;
11444-
type Globalized<T = Window> = T & typeof globalThis;
1144511444
type HashAlgorithmIdentifier = AlgorithmIdentifier;
1144611445
type HeadersInit = [string, string][] | Record<string, string> | Headers;
1144711446
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];

baselines/ts5.5/serviceworker.generated.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10864,7 +10864,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1086410864
*
1086510865
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1086610866
*/
10867-
readonly self: Globalized<WorkerGlobalScope>;
10867+
readonly self: WorkerGlobalScope & typeof globalThis;
1086810868
/**
1086910869
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1087010870
*
@@ -11663,7 +11663,7 @@ declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseR
1166311663
*
1166411664
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1166511665
*/
11666-
declare var self: Globalized<WorkerGlobalScope>;
11666+
declare var self: WorkerGlobalScope & typeof globalThis;
1166711667
/**
1166811668
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1166911669
*
@@ -11755,7 +11755,6 @@ type GLsizei = number;
1175511755
type GLsizeiptr = number;
1175611756
type GLuint = number;
1175711757
type GLuint64 = number;
11758-
type Globalized<T = Window> = T & typeof globalThis;
1175911758
type HashAlgorithmIdentifier = AlgorithmIdentifier;
1176011759
type HeadersInit = [string, string][] | Record<string, string> | Headers;
1176111760
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];

baselines/ts5.5/sharedworker.generated.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10397,7 +10397,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1039710397
*
1039810398
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1039910399
*/
10400-
readonly self: Globalized<WorkerGlobalScope>;
10400+
readonly self: WorkerGlobalScope & typeof globalThis;
1040110401
/**
1040210402
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1040310403
*
@@ -11347,7 +11347,7 @@ declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRe
1134711347
*
1134811348
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1134911349
*/
11350-
declare var self: Globalized<WorkerGlobalScope>;
11350+
declare var self: WorkerGlobalScope & typeof globalThis;
1135111351
/**
1135211352
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1135311353
*
@@ -11438,7 +11438,6 @@ type GLsizei = number;
1143811438
type GLsizeiptr = number;
1143911439
type GLuint = number;
1144011440
type GLuint64 = number;
11441-
type Globalized<T = Window> = T & typeof globalThis;
1144211441
type HashAlgorithmIdentifier = AlgorithmIdentifier;
1144311442
type HeadersInit = [string, string][] | Record<string, string> | Headers;
1144411443
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];

baselines/ts5.5/webworker.generated.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12351,7 +12351,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1235112351
*
1235212352
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1235312353
*/
12354-
readonly self: Globalized<WorkerGlobalScope>;
12354+
readonly self: WorkerGlobalScope & typeof globalThis;
1235512355
/**
1235612356
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1235712357
*
@@ -13332,7 +13332,7 @@ declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: Promis
1333213332
*
1333313333
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1333413334
*/
13335-
declare var self: Globalized<WorkerGlobalScope>;
13335+
declare var self: WorkerGlobalScope & typeof globalThis;
1333613336
/**
1333713337
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1333813338
*
@@ -13432,7 +13432,6 @@ type GLsizei = number;
1343213432
type GLsizeiptr = number;
1343313433
type GLuint = number;
1343413434
type GLuint64 = number;
13435-
type Globalized<T = Window> = T & typeof globalThis;
1343613435
type HashAlgorithmIdentifier = AlgorithmIdentifier;
1343713436
type HeadersInit = [string, string][] | Record<string, string> | Headers;
1343813437
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];

baselines/ts5.6/serviceworker.generated.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10864,7 +10864,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1086410864
*
1086510865
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1086610866
*/
10867-
readonly self: Globalized<WorkerGlobalScope>;
10867+
readonly self: WorkerGlobalScope & typeof globalThis;
1086810868
/**
1086910869
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1087010870
*
@@ -11663,7 +11663,7 @@ declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseR
1166311663
*
1166411664
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1166511665
*/
11666-
declare var self: Globalized<WorkerGlobalScope>;
11666+
declare var self: WorkerGlobalScope & typeof globalThis;
1166711667
/**
1166811668
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1166911669
*
@@ -11755,7 +11755,6 @@ type GLsizei = number;
1175511755
type GLsizeiptr = number;
1175611756
type GLuint = number;
1175711757
type GLuint64 = number;
11758-
type Globalized<T = Window> = T & typeof globalThis;
1175911758
type HashAlgorithmIdentifier = AlgorithmIdentifier;
1176011759
type HeadersInit = [string, string][] | Record<string, string> | Headers;
1176111760
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];

baselines/ts5.6/sharedworker.generated.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10397,7 +10397,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1039710397
*
1039810398
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1039910399
*/
10400-
readonly self: Globalized<WorkerGlobalScope>;
10400+
readonly self: WorkerGlobalScope & typeof globalThis;
1040110401
/**
1040210402
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1040310403
*
@@ -11347,7 +11347,7 @@ declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRe
1134711347
*
1134811348
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1134911349
*/
11350-
declare var self: Globalized<WorkerGlobalScope>;
11350+
declare var self: WorkerGlobalScope & typeof globalThis;
1135111351
/**
1135211352
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1135311353
*
@@ -11438,7 +11438,6 @@ type GLsizei = number;
1143811438
type GLsizeiptr = number;
1143911439
type GLuint = number;
1144011440
type GLuint64 = number;
11441-
type Globalized<T = Window> = T & typeof globalThis;
1144211441
type HashAlgorithmIdentifier = AlgorithmIdentifier;
1144311442
type HeadersInit = [string, string][] | Record<string, string> | Headers;
1144411443
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];

baselines/ts5.6/webworker.generated.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12351,7 +12351,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1235112351
*
1235212352
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1235312353
*/
12354-
readonly self: Globalized<WorkerGlobalScope>;
12354+
readonly self: WorkerGlobalScope & typeof globalThis;
1235512355
/**
1235612356
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1235712357
*
@@ -13332,7 +13332,7 @@ declare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: Promis
1333213332
*
1333313333
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1333413334
*/
13335-
declare var self: Globalized<WorkerGlobalScope>;
13335+
declare var self: WorkerGlobalScope & typeof globalThis;
1333613336
/**
1333713337
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1333813338
*
@@ -13432,7 +13432,6 @@ type GLsizei = number;
1343213432
type GLsizeiptr = number;
1343313433
type GLuint = number;
1343413434
type GLuint64 = number;
13435-
type Globalized<T = Window> = T & typeof globalThis;
1343613435
type HashAlgorithmIdentifier = AlgorithmIdentifier;
1343713436
type HeadersInit = [string, string][] | Record<string, string> | Headers;
1343813437
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];

baselines/ts5.9/serviceworker.generated.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10864,7 +10864,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1086410864
*
1086510865
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1086610866
*/
10867-
readonly self: Globalized<WorkerGlobalScope>;
10867+
readonly self: WorkerGlobalScope & typeof globalThis;
1086810868
/**
1086910869
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1087010870
*
@@ -11663,7 +11663,7 @@ declare var onunhandledrejection: ((this: ServiceWorkerGlobalScope, ev: PromiseR
1166311663
*
1166411664
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1166511665
*/
11666-
declare var self: Globalized<WorkerGlobalScope>;
11666+
declare var self: WorkerGlobalScope & typeof globalThis;
1166711667
/**
1166811668
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1166911669
*
@@ -11755,7 +11755,6 @@ type GLsizei = number;
1175511755
type GLsizeiptr = number;
1175611756
type GLuint = number;
1175711757
type GLuint64 = number;
11758-
type Globalized<T = Window> = T & typeof globalThis;
1175911758
type HashAlgorithmIdentifier = AlgorithmIdentifier;
1176011759
type HeadersInit = [string, string][] | Record<string, string> | Headers;
1176111760
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];

baselines/ts5.9/sharedworker.generated.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10397,7 +10397,7 @@ interface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerG
1039710397
*
1039810398
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1039910399
*/
10400-
readonly self: Globalized<WorkerGlobalScope>;
10400+
readonly self: WorkerGlobalScope & typeof globalThis;
1040110401
/**
1040210402
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1040310403
*
@@ -11347,7 +11347,7 @@ declare var onunhandledrejection: ((this: SharedWorkerGlobalScope, ev: PromiseRe
1134711347
*
1134811348
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)
1134911349
*/
11350-
declare var self: Globalized<WorkerGlobalScope>;
11350+
declare var self: WorkerGlobalScope & typeof globalThis;
1135111351
/**
1135211352
* The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.
1135311353
*
@@ -11438,7 +11438,6 @@ type GLsizei = number;
1143811438
type GLsizeiptr = number;
1143911439
type GLuint = number;
1144011440
type GLuint64 = number;
11441-
type Globalized<T = Window> = T & typeof globalThis;
1144211441
type HashAlgorithmIdentifier = AlgorithmIdentifier;
1144311442
type HeadersInit = [string, string][] | Record<string, string> | Headers;
1144411443
type IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];

0 commit comments

Comments
 (0)