@types/web 0.0.161 → 0.0.163
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 +6 -65
- package/package.json +1 -1
- package/ts5.5/index.d.ts +6 -65
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
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.163 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.163.
|
package/index.d.ts
CHANGED
|
@@ -7411,8 +7411,6 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
7411
7411
|
createEvent(eventInterface: "MessageEvent"): MessageEvent;
|
|
7412
7412
|
createEvent(eventInterface: "MouseEvent"): MouseEvent;
|
|
7413
7413
|
createEvent(eventInterface: "MouseEvents"): MouseEvent;
|
|
7414
|
-
createEvent(eventInterface: "MutationEvent"): MutationEvent;
|
|
7415
|
-
createEvent(eventInterface: "MutationEvents"): MutationEvent;
|
|
7416
7414
|
createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;
|
|
7417
7415
|
createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;
|
|
7418
7416
|
createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent;
|
|
@@ -15717,63 +15715,6 @@ declare var MouseEvent: {
|
|
|
15717
15715
|
new(type: string, eventInitDict?: MouseEventInit): MouseEvent;
|
|
15718
15716
|
};
|
|
15719
15717
|
|
|
15720
|
-
/**
|
|
15721
|
-
* Provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes.
|
|
15722
|
-
* @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.
|
|
15723
|
-
*
|
|
15724
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent)
|
|
15725
|
-
*/
|
|
15726
|
-
interface MutationEvent extends Event {
|
|
15727
|
-
/**
|
|
15728
|
-
* @deprecated
|
|
15729
|
-
*
|
|
15730
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/attrChange)
|
|
15731
|
-
*/
|
|
15732
|
-
readonly attrChange: number;
|
|
15733
|
-
/**
|
|
15734
|
-
* @deprecated
|
|
15735
|
-
*
|
|
15736
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/attrName)
|
|
15737
|
-
*/
|
|
15738
|
-
readonly attrName: string;
|
|
15739
|
-
/**
|
|
15740
|
-
* @deprecated
|
|
15741
|
-
*
|
|
15742
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/newValue)
|
|
15743
|
-
*/
|
|
15744
|
-
readonly newValue: string;
|
|
15745
|
-
/**
|
|
15746
|
-
* @deprecated
|
|
15747
|
-
*
|
|
15748
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/prevValue)
|
|
15749
|
-
*/
|
|
15750
|
-
readonly prevValue: string;
|
|
15751
|
-
/**
|
|
15752
|
-
* @deprecated
|
|
15753
|
-
*
|
|
15754
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/relatedNode)
|
|
15755
|
-
*/
|
|
15756
|
-
readonly relatedNode: Node | null;
|
|
15757
|
-
/**
|
|
15758
|
-
* @deprecated
|
|
15759
|
-
*
|
|
15760
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/initMutationEvent)
|
|
15761
|
-
*/
|
|
15762
|
-
initMutationEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, relatedNodeArg?: Node | null, prevValueArg?: string, newValueArg?: string, attrNameArg?: string, attrChangeArg?: number): void;
|
|
15763
|
-
readonly MODIFICATION: 1;
|
|
15764
|
-
readonly ADDITION: 2;
|
|
15765
|
-
readonly REMOVAL: 3;
|
|
15766
|
-
}
|
|
15767
|
-
|
|
15768
|
-
/** @deprecated */
|
|
15769
|
-
declare var MutationEvent: {
|
|
15770
|
-
prototype: MutationEvent;
|
|
15771
|
-
new(): MutationEvent;
|
|
15772
|
-
readonly MODIFICATION: 1;
|
|
15773
|
-
readonly ADDITION: 2;
|
|
15774
|
-
readonly REMOVAL: 3;
|
|
15775
|
-
};
|
|
15776
|
-
|
|
15777
15718
|
/**
|
|
15778
15719
|
* Provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature which was part of the DOM3 Events specification.
|
|
15779
15720
|
*
|
|
@@ -16980,8 +16921,8 @@ declare var PaymentMethodChangeEvent: {
|
|
|
16980
16921
|
|
|
16981
16922
|
interface PaymentRequestEventMap {
|
|
16982
16923
|
"paymentmethodchange": PaymentMethodChangeEvent;
|
|
16983
|
-
"shippingaddresschange":
|
|
16984
|
-
"shippingoptionchange":
|
|
16924
|
+
"shippingaddresschange": PaymentRequestUpdateEvent;
|
|
16925
|
+
"shippingoptionchange": PaymentRequestUpdateEvent;
|
|
16985
16926
|
}
|
|
16986
16927
|
|
|
16987
16928
|
/**
|
|
@@ -17000,13 +16941,13 @@ interface PaymentRequest extends EventTarget {
|
|
|
17000
16941
|
*
|
|
17001
16942
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingaddresschange_event)
|
|
17002
16943
|
*/
|
|
17003
|
-
onshippingaddresschange: ((this: PaymentRequest, ev:
|
|
16944
|
+
onshippingaddresschange: ((this: PaymentRequest, ev: PaymentRequestUpdateEvent) => any) | null;
|
|
17004
16945
|
/**
|
|
17005
16946
|
* @deprecated
|
|
17006
16947
|
*
|
|
17007
16948
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingoptionchange_event)
|
|
17008
16949
|
*/
|
|
17009
|
-
onshippingoptionchange: ((this: PaymentRequest, ev:
|
|
16950
|
+
onshippingoptionchange: ((this: PaymentRequest, ev: PaymentRequestUpdateEvent) => any) | null;
|
|
17010
16951
|
/**
|
|
17011
16952
|
* @deprecated
|
|
17012
16953
|
*
|
|
@@ -17059,7 +17000,7 @@ declare var PaymentRequestUpdateEvent: {
|
|
|
17059
17000
|
};
|
|
17060
17001
|
|
|
17061
17002
|
interface PaymentResponseEventMap {
|
|
17062
|
-
"payerdetailchange":
|
|
17003
|
+
"payerdetailchange": PaymentRequestUpdateEvent;
|
|
17063
17004
|
}
|
|
17064
17005
|
|
|
17065
17006
|
/**
|
|
@@ -17074,7 +17015,7 @@ interface PaymentResponse extends EventTarget {
|
|
|
17074
17015
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/methodName) */
|
|
17075
17016
|
readonly methodName: string;
|
|
17076
17017
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerdetailchange_event) */
|
|
17077
|
-
onpayerdetailchange: ((this: PaymentResponse, ev:
|
|
17018
|
+
onpayerdetailchange: ((this: PaymentResponse, ev: PaymentRequestUpdateEvent) => any) | null;
|
|
17078
17019
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerEmail) */
|
|
17079
17020
|
readonly payerEmail: string | null;
|
|
17080
17021
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName) */
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -7411,8 +7411,6 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
7411
7411
|
createEvent(eventInterface: "MessageEvent"): MessageEvent;
|
|
7412
7412
|
createEvent(eventInterface: "MouseEvent"): MouseEvent;
|
|
7413
7413
|
createEvent(eventInterface: "MouseEvents"): MouseEvent;
|
|
7414
|
-
createEvent(eventInterface: "MutationEvent"): MutationEvent;
|
|
7415
|
-
createEvent(eventInterface: "MutationEvents"): MutationEvent;
|
|
7416
7414
|
createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;
|
|
7417
7415
|
createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;
|
|
7418
7416
|
createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent;
|
|
@@ -15717,63 +15715,6 @@ declare var MouseEvent: {
|
|
|
15717
15715
|
new(type: string, eventInitDict?: MouseEventInit): MouseEvent;
|
|
15718
15716
|
};
|
|
15719
15717
|
|
|
15720
|
-
/**
|
|
15721
|
-
* Provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes.
|
|
15722
|
-
* @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.
|
|
15723
|
-
*
|
|
15724
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent)
|
|
15725
|
-
*/
|
|
15726
|
-
interface MutationEvent extends Event {
|
|
15727
|
-
/**
|
|
15728
|
-
* @deprecated
|
|
15729
|
-
*
|
|
15730
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/attrChange)
|
|
15731
|
-
*/
|
|
15732
|
-
readonly attrChange: number;
|
|
15733
|
-
/**
|
|
15734
|
-
* @deprecated
|
|
15735
|
-
*
|
|
15736
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/attrName)
|
|
15737
|
-
*/
|
|
15738
|
-
readonly attrName: string;
|
|
15739
|
-
/**
|
|
15740
|
-
* @deprecated
|
|
15741
|
-
*
|
|
15742
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/newValue)
|
|
15743
|
-
*/
|
|
15744
|
-
readonly newValue: string;
|
|
15745
|
-
/**
|
|
15746
|
-
* @deprecated
|
|
15747
|
-
*
|
|
15748
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/prevValue)
|
|
15749
|
-
*/
|
|
15750
|
-
readonly prevValue: string;
|
|
15751
|
-
/**
|
|
15752
|
-
* @deprecated
|
|
15753
|
-
*
|
|
15754
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/relatedNode)
|
|
15755
|
-
*/
|
|
15756
|
-
readonly relatedNode: Node | null;
|
|
15757
|
-
/**
|
|
15758
|
-
* @deprecated
|
|
15759
|
-
*
|
|
15760
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/initMutationEvent)
|
|
15761
|
-
*/
|
|
15762
|
-
initMutationEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, relatedNodeArg?: Node | null, prevValueArg?: string, newValueArg?: string, attrNameArg?: string, attrChangeArg?: number): void;
|
|
15763
|
-
readonly MODIFICATION: 1;
|
|
15764
|
-
readonly ADDITION: 2;
|
|
15765
|
-
readonly REMOVAL: 3;
|
|
15766
|
-
}
|
|
15767
|
-
|
|
15768
|
-
/** @deprecated */
|
|
15769
|
-
declare var MutationEvent: {
|
|
15770
|
-
prototype: MutationEvent;
|
|
15771
|
-
new(): MutationEvent;
|
|
15772
|
-
readonly MODIFICATION: 1;
|
|
15773
|
-
readonly ADDITION: 2;
|
|
15774
|
-
readonly REMOVAL: 3;
|
|
15775
|
-
};
|
|
15776
|
-
|
|
15777
15718
|
/**
|
|
15778
15719
|
* Provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature which was part of the DOM3 Events specification.
|
|
15779
15720
|
*
|
|
@@ -16980,8 +16921,8 @@ declare var PaymentMethodChangeEvent: {
|
|
|
16980
16921
|
|
|
16981
16922
|
interface PaymentRequestEventMap {
|
|
16982
16923
|
"paymentmethodchange": PaymentMethodChangeEvent;
|
|
16983
|
-
"shippingaddresschange":
|
|
16984
|
-
"shippingoptionchange":
|
|
16924
|
+
"shippingaddresschange": PaymentRequestUpdateEvent;
|
|
16925
|
+
"shippingoptionchange": PaymentRequestUpdateEvent;
|
|
16985
16926
|
}
|
|
16986
16927
|
|
|
16987
16928
|
/**
|
|
@@ -17000,13 +16941,13 @@ interface PaymentRequest extends EventTarget {
|
|
|
17000
16941
|
*
|
|
17001
16942
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingaddresschange_event)
|
|
17002
16943
|
*/
|
|
17003
|
-
onshippingaddresschange: ((this: PaymentRequest, ev:
|
|
16944
|
+
onshippingaddresschange: ((this: PaymentRequest, ev: PaymentRequestUpdateEvent) => any) | null;
|
|
17004
16945
|
/**
|
|
17005
16946
|
* @deprecated
|
|
17006
16947
|
*
|
|
17007
16948
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingoptionchange_event)
|
|
17008
16949
|
*/
|
|
17009
|
-
onshippingoptionchange: ((this: PaymentRequest, ev:
|
|
16950
|
+
onshippingoptionchange: ((this: PaymentRequest, ev: PaymentRequestUpdateEvent) => any) | null;
|
|
17010
16951
|
/**
|
|
17011
16952
|
* @deprecated
|
|
17012
16953
|
*
|
|
@@ -17059,7 +17000,7 @@ declare var PaymentRequestUpdateEvent: {
|
|
|
17059
17000
|
};
|
|
17060
17001
|
|
|
17061
17002
|
interface PaymentResponseEventMap {
|
|
17062
|
-
"payerdetailchange":
|
|
17003
|
+
"payerdetailchange": PaymentRequestUpdateEvent;
|
|
17063
17004
|
}
|
|
17064
17005
|
|
|
17065
17006
|
/**
|
|
@@ -17074,7 +17015,7 @@ interface PaymentResponse extends EventTarget {
|
|
|
17074
17015
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/methodName) */
|
|
17075
17016
|
readonly methodName: string;
|
|
17076
17017
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerdetailchange_event) */
|
|
17077
|
-
onpayerdetailchange: ((this: PaymentResponse, ev:
|
|
17018
|
+
onpayerdetailchange: ((this: PaymentResponse, ev: PaymentRequestUpdateEvent) => any) | null;
|
|
17078
17019
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerEmail) */
|
|
17079
17020
|
readonly payerEmail: string | null;
|
|
17080
17021
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName) */
|