@types/webworker 0.0.76 → 0.0.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.d.ts +58 -0
- package/package.json +1 -1
- package/ts5.5/index.d.ts +58 -0
- package/ts5.6/index.d.ts +58 -0
- package/ts5.9/index.d.ts +58 -0
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ This project does not respect semantic versioning as almost every change could p
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.78 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.78.
|
package/index.d.ts
CHANGED
|
@@ -919,6 +919,11 @@ interface NavigationPreloadState {
|
|
|
919
919
|
headerValue?: string;
|
|
920
920
|
}
|
|
921
921
|
|
|
922
|
+
interface NotificationAction {
|
|
923
|
+
action: string;
|
|
924
|
+
title: string;
|
|
925
|
+
}
|
|
926
|
+
|
|
922
927
|
interface NotificationEventInit extends ExtendableEventInit {
|
|
923
928
|
action?: string;
|
|
924
929
|
notification: Notification;
|
|
@@ -7854,6 +7859,12 @@ interface NotificationEventMap {
|
|
|
7854
7859
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
7855
7860
|
*/
|
|
7856
7861
|
interface Notification extends EventTarget {
|
|
7862
|
+
/**
|
|
7863
|
+
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
|
|
7864
|
+
*
|
|
7865
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
|
|
7866
|
+
*/
|
|
7867
|
+
readonly actions: ReadonlyArray<NotificationAction>;
|
|
7857
7868
|
/**
|
|
7858
7869
|
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
|
|
7859
7870
|
*
|
|
@@ -7931,6 +7942,12 @@ interface Notification extends EventTarget {
|
|
|
7931
7942
|
declare var Notification: {
|
|
7932
7943
|
prototype: Notification;
|
|
7933
7944
|
new(title: string, options?: NotificationOptions): Notification;
|
|
7945
|
+
/**
|
|
7946
|
+
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
|
|
7947
|
+
*
|
|
7948
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
|
|
7949
|
+
*/
|
|
7950
|
+
readonly maxActions: number;
|
|
7934
7951
|
/**
|
|
7935
7952
|
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
|
|
7936
7953
|
*
|
|
@@ -14631,6 +14648,47 @@ declare var XMLHttpRequestUpload: {
|
|
|
14631
14648
|
new(): XMLHttpRequestUpload;
|
|
14632
14649
|
};
|
|
14633
14650
|
|
|
14651
|
+
declare namespace GPUBufferUsage {
|
|
14652
|
+
const MAP_READ: 0x0001;
|
|
14653
|
+
const MAP_WRITE: 0x0002;
|
|
14654
|
+
const COPY_SRC: 0x0004;
|
|
14655
|
+
const COPY_DST: 0x0008;
|
|
14656
|
+
const INDEX: 0x0010;
|
|
14657
|
+
const VERTEX: 0x0020;
|
|
14658
|
+
const UNIFORM: 0x0040;
|
|
14659
|
+
const STORAGE: 0x0080;
|
|
14660
|
+
const INDIRECT: 0x0100;
|
|
14661
|
+
const QUERY_RESOLVE: 0x0200;
|
|
14662
|
+
}
|
|
14663
|
+
|
|
14664
|
+
declare namespace GPUColorWrite {
|
|
14665
|
+
const RED: 0x1;
|
|
14666
|
+
const GREEN: 0x2;
|
|
14667
|
+
const BLUE: 0x4;
|
|
14668
|
+
const ALPHA: 0x8;
|
|
14669
|
+
const ALL: 0xF;
|
|
14670
|
+
}
|
|
14671
|
+
|
|
14672
|
+
declare namespace GPUMapMode {
|
|
14673
|
+
const READ: 0x0001;
|
|
14674
|
+
const WRITE: 0x0002;
|
|
14675
|
+
}
|
|
14676
|
+
|
|
14677
|
+
declare namespace GPUShaderStage {
|
|
14678
|
+
const VERTEX: 0x1;
|
|
14679
|
+
const FRAGMENT: 0x2;
|
|
14680
|
+
const COMPUTE: 0x4;
|
|
14681
|
+
}
|
|
14682
|
+
|
|
14683
|
+
declare namespace GPUTextureUsage {
|
|
14684
|
+
const COPY_SRC: 0x01;
|
|
14685
|
+
const COPY_DST: 0x02;
|
|
14686
|
+
const TEXTURE_BINDING: 0x04;
|
|
14687
|
+
const STORAGE_BINDING: 0x08;
|
|
14688
|
+
const RENDER_ATTACHMENT: 0x10;
|
|
14689
|
+
const TRANSIENT_ATTACHMENT: 0x20;
|
|
14690
|
+
}
|
|
14691
|
+
|
|
14634
14692
|
declare namespace WebAssembly {
|
|
14635
14693
|
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
14636
14694
|
interface CompileError extends Error {
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -916,6 +916,11 @@ interface NavigationPreloadState {
|
|
|
916
916
|
headerValue?: string;
|
|
917
917
|
}
|
|
918
918
|
|
|
919
|
+
interface NotificationAction {
|
|
920
|
+
action: string;
|
|
921
|
+
title: string;
|
|
922
|
+
}
|
|
923
|
+
|
|
919
924
|
interface NotificationEventInit extends ExtendableEventInit {
|
|
920
925
|
action?: string;
|
|
921
926
|
notification: Notification;
|
|
@@ -7851,6 +7856,12 @@ interface NotificationEventMap {
|
|
|
7851
7856
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
7852
7857
|
*/
|
|
7853
7858
|
interface Notification extends EventTarget {
|
|
7859
|
+
/**
|
|
7860
|
+
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
|
|
7861
|
+
*
|
|
7862
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
|
|
7863
|
+
*/
|
|
7864
|
+
readonly actions: ReadonlyArray<NotificationAction>;
|
|
7854
7865
|
/**
|
|
7855
7866
|
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
|
|
7856
7867
|
*
|
|
@@ -7928,6 +7939,12 @@ interface Notification extends EventTarget {
|
|
|
7928
7939
|
declare var Notification: {
|
|
7929
7940
|
prototype: Notification;
|
|
7930
7941
|
new(title: string, options?: NotificationOptions): Notification;
|
|
7942
|
+
/**
|
|
7943
|
+
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
|
|
7944
|
+
*
|
|
7945
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
|
|
7946
|
+
*/
|
|
7947
|
+
readonly maxActions: number;
|
|
7931
7948
|
/**
|
|
7932
7949
|
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
|
|
7933
7950
|
*
|
|
@@ -14628,6 +14645,47 @@ declare var XMLHttpRequestUpload: {
|
|
|
14628
14645
|
new(): XMLHttpRequestUpload;
|
|
14629
14646
|
};
|
|
14630
14647
|
|
|
14648
|
+
declare namespace GPUBufferUsage {
|
|
14649
|
+
const MAP_READ: 0x0001;
|
|
14650
|
+
const MAP_WRITE: 0x0002;
|
|
14651
|
+
const COPY_SRC: 0x0004;
|
|
14652
|
+
const COPY_DST: 0x0008;
|
|
14653
|
+
const INDEX: 0x0010;
|
|
14654
|
+
const VERTEX: 0x0020;
|
|
14655
|
+
const UNIFORM: 0x0040;
|
|
14656
|
+
const STORAGE: 0x0080;
|
|
14657
|
+
const INDIRECT: 0x0100;
|
|
14658
|
+
const QUERY_RESOLVE: 0x0200;
|
|
14659
|
+
}
|
|
14660
|
+
|
|
14661
|
+
declare namespace GPUColorWrite {
|
|
14662
|
+
const RED: 0x1;
|
|
14663
|
+
const GREEN: 0x2;
|
|
14664
|
+
const BLUE: 0x4;
|
|
14665
|
+
const ALPHA: 0x8;
|
|
14666
|
+
const ALL: 0xF;
|
|
14667
|
+
}
|
|
14668
|
+
|
|
14669
|
+
declare namespace GPUMapMode {
|
|
14670
|
+
const READ: 0x0001;
|
|
14671
|
+
const WRITE: 0x0002;
|
|
14672
|
+
}
|
|
14673
|
+
|
|
14674
|
+
declare namespace GPUShaderStage {
|
|
14675
|
+
const VERTEX: 0x1;
|
|
14676
|
+
const FRAGMENT: 0x2;
|
|
14677
|
+
const COMPUTE: 0x4;
|
|
14678
|
+
}
|
|
14679
|
+
|
|
14680
|
+
declare namespace GPUTextureUsage {
|
|
14681
|
+
const COPY_SRC: 0x01;
|
|
14682
|
+
const COPY_DST: 0x02;
|
|
14683
|
+
const TEXTURE_BINDING: 0x04;
|
|
14684
|
+
const STORAGE_BINDING: 0x08;
|
|
14685
|
+
const RENDER_ATTACHMENT: 0x10;
|
|
14686
|
+
const TRANSIENT_ATTACHMENT: 0x20;
|
|
14687
|
+
}
|
|
14688
|
+
|
|
14631
14689
|
declare namespace WebAssembly {
|
|
14632
14690
|
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
14633
14691
|
interface CompileError extends Error {
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -916,6 +916,11 @@ interface NavigationPreloadState {
|
|
|
916
916
|
headerValue?: string;
|
|
917
917
|
}
|
|
918
918
|
|
|
919
|
+
interface NotificationAction {
|
|
920
|
+
action: string;
|
|
921
|
+
title: string;
|
|
922
|
+
}
|
|
923
|
+
|
|
919
924
|
interface NotificationEventInit extends ExtendableEventInit {
|
|
920
925
|
action?: string;
|
|
921
926
|
notification: Notification;
|
|
@@ -7851,6 +7856,12 @@ interface NotificationEventMap {
|
|
|
7851
7856
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
7852
7857
|
*/
|
|
7853
7858
|
interface Notification extends EventTarget {
|
|
7859
|
+
/**
|
|
7860
|
+
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
|
|
7861
|
+
*
|
|
7862
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
|
|
7863
|
+
*/
|
|
7864
|
+
readonly actions: ReadonlyArray<NotificationAction>;
|
|
7854
7865
|
/**
|
|
7855
7866
|
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
|
|
7856
7867
|
*
|
|
@@ -7928,6 +7939,12 @@ interface Notification extends EventTarget {
|
|
|
7928
7939
|
declare var Notification: {
|
|
7929
7940
|
prototype: Notification;
|
|
7930
7941
|
new(title: string, options?: NotificationOptions): Notification;
|
|
7942
|
+
/**
|
|
7943
|
+
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
|
|
7944
|
+
*
|
|
7945
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
|
|
7946
|
+
*/
|
|
7947
|
+
readonly maxActions: number;
|
|
7931
7948
|
/**
|
|
7932
7949
|
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
|
|
7933
7950
|
*
|
|
@@ -14628,6 +14645,47 @@ declare var XMLHttpRequestUpload: {
|
|
|
14628
14645
|
new(): XMLHttpRequestUpload;
|
|
14629
14646
|
};
|
|
14630
14647
|
|
|
14648
|
+
declare namespace GPUBufferUsage {
|
|
14649
|
+
const MAP_READ: 0x0001;
|
|
14650
|
+
const MAP_WRITE: 0x0002;
|
|
14651
|
+
const COPY_SRC: 0x0004;
|
|
14652
|
+
const COPY_DST: 0x0008;
|
|
14653
|
+
const INDEX: 0x0010;
|
|
14654
|
+
const VERTEX: 0x0020;
|
|
14655
|
+
const UNIFORM: 0x0040;
|
|
14656
|
+
const STORAGE: 0x0080;
|
|
14657
|
+
const INDIRECT: 0x0100;
|
|
14658
|
+
const QUERY_RESOLVE: 0x0200;
|
|
14659
|
+
}
|
|
14660
|
+
|
|
14661
|
+
declare namespace GPUColorWrite {
|
|
14662
|
+
const RED: 0x1;
|
|
14663
|
+
const GREEN: 0x2;
|
|
14664
|
+
const BLUE: 0x4;
|
|
14665
|
+
const ALPHA: 0x8;
|
|
14666
|
+
const ALL: 0xF;
|
|
14667
|
+
}
|
|
14668
|
+
|
|
14669
|
+
declare namespace GPUMapMode {
|
|
14670
|
+
const READ: 0x0001;
|
|
14671
|
+
const WRITE: 0x0002;
|
|
14672
|
+
}
|
|
14673
|
+
|
|
14674
|
+
declare namespace GPUShaderStage {
|
|
14675
|
+
const VERTEX: 0x1;
|
|
14676
|
+
const FRAGMENT: 0x2;
|
|
14677
|
+
const COMPUTE: 0x4;
|
|
14678
|
+
}
|
|
14679
|
+
|
|
14680
|
+
declare namespace GPUTextureUsage {
|
|
14681
|
+
const COPY_SRC: 0x01;
|
|
14682
|
+
const COPY_DST: 0x02;
|
|
14683
|
+
const TEXTURE_BINDING: 0x04;
|
|
14684
|
+
const STORAGE_BINDING: 0x08;
|
|
14685
|
+
const RENDER_ATTACHMENT: 0x10;
|
|
14686
|
+
const TRANSIENT_ATTACHMENT: 0x20;
|
|
14687
|
+
}
|
|
14688
|
+
|
|
14631
14689
|
declare namespace WebAssembly {
|
|
14632
14690
|
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
14633
14691
|
interface CompileError extends Error {
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -916,6 +916,11 @@ interface NavigationPreloadState {
|
|
|
916
916
|
headerValue?: string;
|
|
917
917
|
}
|
|
918
918
|
|
|
919
|
+
interface NotificationAction {
|
|
920
|
+
action: string;
|
|
921
|
+
title: string;
|
|
922
|
+
}
|
|
923
|
+
|
|
919
924
|
interface NotificationEventInit extends ExtendableEventInit {
|
|
920
925
|
action?: string;
|
|
921
926
|
notification: Notification;
|
|
@@ -7851,6 +7856,12 @@ interface NotificationEventMap {
|
|
|
7851
7856
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
7852
7857
|
*/
|
|
7853
7858
|
interface Notification extends EventTarget {
|
|
7859
|
+
/**
|
|
7860
|
+
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
|
|
7861
|
+
*
|
|
7862
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
|
|
7863
|
+
*/
|
|
7864
|
+
readonly actions: ReadonlyArray<NotificationAction>;
|
|
7854
7865
|
/**
|
|
7855
7866
|
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
|
|
7856
7867
|
*
|
|
@@ -7928,6 +7939,12 @@ interface Notification extends EventTarget {
|
|
|
7928
7939
|
declare var Notification: {
|
|
7929
7940
|
prototype: Notification;
|
|
7930
7941
|
new(title: string, options?: NotificationOptions): Notification;
|
|
7942
|
+
/**
|
|
7943
|
+
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
|
|
7944
|
+
*
|
|
7945
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
|
|
7946
|
+
*/
|
|
7947
|
+
readonly maxActions: number;
|
|
7931
7948
|
/**
|
|
7932
7949
|
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
|
|
7933
7950
|
*
|
|
@@ -14628,6 +14645,47 @@ declare var XMLHttpRequestUpload: {
|
|
|
14628
14645
|
new(): XMLHttpRequestUpload;
|
|
14629
14646
|
};
|
|
14630
14647
|
|
|
14648
|
+
declare namespace GPUBufferUsage {
|
|
14649
|
+
const MAP_READ: 0x0001;
|
|
14650
|
+
const MAP_WRITE: 0x0002;
|
|
14651
|
+
const COPY_SRC: 0x0004;
|
|
14652
|
+
const COPY_DST: 0x0008;
|
|
14653
|
+
const INDEX: 0x0010;
|
|
14654
|
+
const VERTEX: 0x0020;
|
|
14655
|
+
const UNIFORM: 0x0040;
|
|
14656
|
+
const STORAGE: 0x0080;
|
|
14657
|
+
const INDIRECT: 0x0100;
|
|
14658
|
+
const QUERY_RESOLVE: 0x0200;
|
|
14659
|
+
}
|
|
14660
|
+
|
|
14661
|
+
declare namespace GPUColorWrite {
|
|
14662
|
+
const RED: 0x1;
|
|
14663
|
+
const GREEN: 0x2;
|
|
14664
|
+
const BLUE: 0x4;
|
|
14665
|
+
const ALPHA: 0x8;
|
|
14666
|
+
const ALL: 0xF;
|
|
14667
|
+
}
|
|
14668
|
+
|
|
14669
|
+
declare namespace GPUMapMode {
|
|
14670
|
+
const READ: 0x0001;
|
|
14671
|
+
const WRITE: 0x0002;
|
|
14672
|
+
}
|
|
14673
|
+
|
|
14674
|
+
declare namespace GPUShaderStage {
|
|
14675
|
+
const VERTEX: 0x1;
|
|
14676
|
+
const FRAGMENT: 0x2;
|
|
14677
|
+
const COMPUTE: 0x4;
|
|
14678
|
+
}
|
|
14679
|
+
|
|
14680
|
+
declare namespace GPUTextureUsage {
|
|
14681
|
+
const COPY_SRC: 0x01;
|
|
14682
|
+
const COPY_DST: 0x02;
|
|
14683
|
+
const TEXTURE_BINDING: 0x04;
|
|
14684
|
+
const STORAGE_BINDING: 0x08;
|
|
14685
|
+
const RENDER_ATTACHMENT: 0x10;
|
|
14686
|
+
const TRANSIENT_ATTACHMENT: 0x20;
|
|
14687
|
+
}
|
|
14688
|
+
|
|
14631
14689
|
declare namespace WebAssembly {
|
|
14632
14690
|
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
14633
14691
|
interface CompileError extends Error {
|