@types/web 0.0.159 → 0.0.160
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 +117 -47
- package/package.json +1 -1
- package/ts5.5/index.d.ts +117 -47
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.160 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.160.
|
package/index.d.ts
CHANGED
|
@@ -4700,12 +4700,19 @@ interface CSSStyleDeclaration {
|
|
|
4700
4700
|
stopOpacity: string;
|
|
4701
4701
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke) */
|
|
4702
4702
|
stroke: string;
|
|
4703
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-dasharray) */
|
|
4703
4704
|
strokeDasharray: string;
|
|
4705
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-dashoffset) */
|
|
4704
4706
|
strokeDashoffset: string;
|
|
4707
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-linecap) */
|
|
4705
4708
|
strokeLinecap: string;
|
|
4709
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-linejoin) */
|
|
4706
4710
|
strokeLinejoin: string;
|
|
4711
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-miterlimit) */
|
|
4707
4712
|
strokeMiterlimit: string;
|
|
4713
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-opacity) */
|
|
4708
4714
|
strokeOpacity: string;
|
|
4715
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-width) */
|
|
4709
4716
|
strokeWidth: string;
|
|
4710
4717
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/tab-size) */
|
|
4711
4718
|
tabSize: string;
|
|
@@ -9919,7 +9926,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
|
9919
9926
|
formTarget: string;
|
|
9920
9927
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels) */
|
|
9921
9928
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
9922
|
-
/**
|
|
9929
|
+
/**
|
|
9930
|
+
* Sets or retrieves the name of the object.
|
|
9931
|
+
*
|
|
9932
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name)
|
|
9933
|
+
*/
|
|
9923
9934
|
name: string;
|
|
9924
9935
|
/**
|
|
9925
9936
|
* Gets the classification and default behavior of the button.
|
|
@@ -9931,12 +9942,21 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
|
9931
9942
|
readonly validationMessage: string;
|
|
9932
9943
|
/** Returns a ValidityState object that represents the validity states of an element. */
|
|
9933
9944
|
readonly validity: ValidityState;
|
|
9934
|
-
/**
|
|
9945
|
+
/**
|
|
9946
|
+
* Sets or retrieves the default or selected value of the control.
|
|
9947
|
+
*
|
|
9948
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value)
|
|
9949
|
+
*/
|
|
9935
9950
|
value: string;
|
|
9936
9951
|
/** Returns whether an element will successfully validate based on forms validation rules and constraints. */
|
|
9937
9952
|
readonly willValidate: boolean;
|
|
9938
|
-
/**
|
|
9953
|
+
/**
|
|
9954
|
+
* Returns whether a form will validate when it is submitted, without having to submit it.
|
|
9955
|
+
*
|
|
9956
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/checkValidity)
|
|
9957
|
+
*/
|
|
9939
9958
|
checkValidity(): boolean;
|
|
9959
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/reportValidity) */
|
|
9940
9960
|
reportValidity(): boolean;
|
|
9941
9961
|
/**
|
|
9942
9962
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
@@ -10107,6 +10127,7 @@ declare var HTMLDataListElement: {
|
|
|
10107
10127
|
|
|
10108
10128
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement) */
|
|
10109
10129
|
interface HTMLDetailsElement extends HTMLElement {
|
|
10130
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
|
|
10110
10131
|
name: string;
|
|
10111
10132
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
|
|
10112
10133
|
open: boolean;
|
|
@@ -10330,6 +10351,7 @@ interface HTMLFieldSetElement extends HTMLElement {
|
|
|
10330
10351
|
readonly elements: HTMLCollection;
|
|
10331
10352
|
/** Retrieves a reference to the form that the object is embedded in. */
|
|
10332
10353
|
readonly form: HTMLFormElement | null;
|
|
10354
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) */
|
|
10333
10355
|
name: string;
|
|
10334
10356
|
/** Returns the string "fieldset". */
|
|
10335
10357
|
readonly type: string;
|
|
@@ -10339,8 +10361,13 @@ interface HTMLFieldSetElement extends HTMLElement {
|
|
|
10339
10361
|
readonly validity: ValidityState;
|
|
10340
10362
|
/** Returns whether an element will successfully validate based on forms validation rules and constraints. */
|
|
10341
10363
|
readonly willValidate: boolean;
|
|
10342
|
-
/**
|
|
10364
|
+
/**
|
|
10365
|
+
* Returns whether a form will validate when it is submitted, without having to submit it.
|
|
10366
|
+
*
|
|
10367
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/checkValidity)
|
|
10368
|
+
*/
|
|
10343
10369
|
checkValidity(): boolean;
|
|
10370
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/reportValidity) */
|
|
10344
10371
|
reportValidity(): boolean;
|
|
10345
10372
|
/**
|
|
10346
10373
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
@@ -10483,7 +10510,11 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
10483
10510
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/target)
|
|
10484
10511
|
*/
|
|
10485
10512
|
target: string;
|
|
10486
|
-
/**
|
|
10513
|
+
/**
|
|
10514
|
+
* Returns whether a form will validate when it is submitted, without having to submit it.
|
|
10515
|
+
*
|
|
10516
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/checkValidity)
|
|
10517
|
+
*/
|
|
10487
10518
|
checkValidity(): boolean;
|
|
10488
10519
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reportValidity) */
|
|
10489
10520
|
reportValidity(): boolean;
|
|
@@ -11062,7 +11093,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11062
11093
|
checked: boolean;
|
|
11063
11094
|
/** Sets or retrieves the state of the check box or radio button. */
|
|
11064
11095
|
defaultChecked: boolean;
|
|
11065
|
-
/**
|
|
11096
|
+
/**
|
|
11097
|
+
* Sets or retrieves the initial contents of the object.
|
|
11098
|
+
*
|
|
11099
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultValue)
|
|
11100
|
+
*/
|
|
11066
11101
|
defaultValue: string;
|
|
11067
11102
|
dirName: string;
|
|
11068
11103
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled) */
|
|
@@ -11091,14 +11126,31 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11091
11126
|
indeterminate: boolean;
|
|
11092
11127
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */
|
|
11093
11128
|
readonly labels: NodeListOf<HTMLLabelElement> | null;
|
|
11094
|
-
/**
|
|
11129
|
+
/**
|
|
11130
|
+
* Specifies the ID of a pre-defined datalist of options for an input element.
|
|
11131
|
+
*
|
|
11132
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/list)
|
|
11133
|
+
*/
|
|
11095
11134
|
readonly list: HTMLDataListElement | null;
|
|
11096
|
-
/**
|
|
11135
|
+
/**
|
|
11136
|
+
* Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.
|
|
11137
|
+
*
|
|
11138
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/max)
|
|
11139
|
+
*/
|
|
11097
11140
|
max: string;
|
|
11098
|
-
/**
|
|
11141
|
+
/**
|
|
11142
|
+
* Sets or retrieves the maximum number of characters that the user can enter in a text control.
|
|
11143
|
+
*
|
|
11144
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/maxLength)
|
|
11145
|
+
*/
|
|
11099
11146
|
maxLength: number;
|
|
11100
|
-
/**
|
|
11147
|
+
/**
|
|
11148
|
+
* Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.
|
|
11149
|
+
*
|
|
11150
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/min)
|
|
11151
|
+
*/
|
|
11101
11152
|
min: string;
|
|
11153
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/minLength) */
|
|
11102
11154
|
minLength: number;
|
|
11103
11155
|
/**
|
|
11104
11156
|
* Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
|
|
@@ -11106,7 +11158,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11106
11158
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/multiple)
|
|
11107
11159
|
*/
|
|
11108
11160
|
multiple: boolean;
|
|
11109
|
-
/**
|
|
11161
|
+
/**
|
|
11162
|
+
* Sets or retrieves the name of the object.
|
|
11163
|
+
*
|
|
11164
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/name)
|
|
11165
|
+
*/
|
|
11110
11166
|
name: string;
|
|
11111
11167
|
/** Gets or sets a string containing a regular expression that the user's input must match. */
|
|
11112
11168
|
pattern: string;
|
|
@@ -11132,7 +11188,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11132
11188
|
size: number;
|
|
11133
11189
|
/** The address or URL of the a media resource that is to be considered. */
|
|
11134
11190
|
src: string;
|
|
11135
|
-
/**
|
|
11191
|
+
/**
|
|
11192
|
+
* Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.
|
|
11193
|
+
*
|
|
11194
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/step)
|
|
11195
|
+
*/
|
|
11136
11196
|
step: string;
|
|
11137
11197
|
/**
|
|
11138
11198
|
* Returns the content type of the object.
|
|
@@ -11752,13 +11812,19 @@ declare var HTMLMetaElement: {
|
|
|
11752
11812
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement)
|
|
11753
11813
|
*/
|
|
11754
11814
|
interface HTMLMeterElement extends HTMLElement {
|
|
11815
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high) */
|
|
11755
11816
|
high: number;
|
|
11756
11817
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels) */
|
|
11757
11818
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
11819
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low) */
|
|
11758
11820
|
low: number;
|
|
11821
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max) */
|
|
11759
11822
|
max: number;
|
|
11823
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min) */
|
|
11760
11824
|
min: number;
|
|
11825
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum) */
|
|
11761
11826
|
optimum: number;
|
|
11827
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value) */
|
|
11762
11828
|
value: number;
|
|
11763
11829
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11764
11830
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -11938,6 +12004,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
11938
12004
|
*/
|
|
11939
12005
|
checkValidity(): boolean;
|
|
11940
12006
|
getSVGDocument(): Document | null;
|
|
12007
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/reportValidity) */
|
|
11941
12008
|
reportValidity(): boolean;
|
|
11942
12009
|
/**
|
|
11943
12010
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
@@ -11996,7 +12063,11 @@ interface HTMLOptionElement extends HTMLElement {
|
|
|
11996
12063
|
selected: boolean;
|
|
11997
12064
|
/** Sets or retrieves the text string specified by the option tag. */
|
|
11998
12065
|
text: string;
|
|
11999
|
-
/**
|
|
12066
|
+
/**
|
|
12067
|
+
* Sets or retrieves the value which is returned to the server when the form control is submitted.
|
|
12068
|
+
*
|
|
12069
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/value)
|
|
12070
|
+
*/
|
|
12000
12071
|
value: string;
|
|
12001
12072
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
12002
12073
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12074,6 +12145,7 @@ interface HTMLOutputElement extends HTMLElement {
|
|
|
12074
12145
|
readonly htmlFor: DOMTokenList;
|
|
12075
12146
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */
|
|
12076
12147
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
12148
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) */
|
|
12077
12149
|
name: string;
|
|
12078
12150
|
/** Returns the string "output". */
|
|
12079
12151
|
readonly type: string;
|
|
@@ -12083,10 +12155,14 @@ interface HTMLOutputElement extends HTMLElement {
|
|
|
12083
12155
|
* Returns the element's current value.
|
|
12084
12156
|
*
|
|
12085
12157
|
* Can be set, to change the value.
|
|
12158
|
+
*
|
|
12159
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value)
|
|
12086
12160
|
*/
|
|
12087
12161
|
value: string;
|
|
12088
12162
|
readonly willValidate: boolean;
|
|
12163
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity) */
|
|
12089
12164
|
checkValidity(): boolean;
|
|
12165
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) */
|
|
12090
12166
|
reportValidity(): boolean;
|
|
12091
12167
|
setCustomValidity(error: string): void;
|
|
12092
12168
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12347,7 +12423,11 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12347
12423
|
length: number;
|
|
12348
12424
|
/** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. */
|
|
12349
12425
|
multiple: boolean;
|
|
12350
|
-
/**
|
|
12426
|
+
/**
|
|
12427
|
+
* Sets or retrieves the name of the object.
|
|
12428
|
+
*
|
|
12429
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name)
|
|
12430
|
+
*/
|
|
12351
12431
|
name: string;
|
|
12352
12432
|
/**
|
|
12353
12433
|
* Returns an HTMLOptionsCollection of the list of options.
|
|
@@ -12422,6 +12502,7 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12422
12502
|
*/
|
|
12423
12503
|
remove(): void;
|
|
12424
12504
|
remove(index: number): void;
|
|
12505
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/reportValidity) */
|
|
12425
12506
|
reportValidity(): boolean;
|
|
12426
12507
|
/**
|
|
12427
12508
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
@@ -13104,7 +13185,11 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
13104
13185
|
/** Sets or retrieves the maximum number of characters that the user can enter in a text control. */
|
|
13105
13186
|
maxLength: number;
|
|
13106
13187
|
minLength: number;
|
|
13107
|
-
/**
|
|
13188
|
+
/**
|
|
13189
|
+
* Sets or retrieves the name of the object.
|
|
13190
|
+
*
|
|
13191
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/name)
|
|
13192
|
+
*/
|
|
13108
13193
|
name: string;
|
|
13109
13194
|
/** Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. */
|
|
13110
13195
|
placeholder: string;
|
|
@@ -13130,14 +13215,23 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
13130
13215
|
readonly validationMessage: string;
|
|
13131
13216
|
/** Returns a ValidityState object that represents the validity states of an element. */
|
|
13132
13217
|
readonly validity: ValidityState;
|
|
13133
|
-
/**
|
|
13218
|
+
/**
|
|
13219
|
+
* Retrieves or sets the text in the entry field of the textArea element.
|
|
13220
|
+
*
|
|
13221
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/value)
|
|
13222
|
+
*/
|
|
13134
13223
|
value: string;
|
|
13135
13224
|
/** Returns whether an element will successfully validate based on forms validation rules and constraints. */
|
|
13136
13225
|
readonly willValidate: boolean;
|
|
13137
13226
|
/** Sets or retrieves how to handle wordwrapping in the object. */
|
|
13138
13227
|
wrap: string;
|
|
13139
|
-
/**
|
|
13228
|
+
/**
|
|
13229
|
+
* Returns whether a form will validate when it is submitted, without having to submit it.
|
|
13230
|
+
*
|
|
13231
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/checkValidity)
|
|
13232
|
+
*/
|
|
13140
13233
|
checkValidity(): boolean;
|
|
13234
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) */
|
|
13141
13235
|
reportValidity(): boolean;
|
|
13142
13236
|
/** Highlights the input area of a form element. */
|
|
13143
13237
|
select(): void;
|
|
@@ -16979,43 +17073,19 @@ interface PaymentResponse extends EventTarget {
|
|
|
16979
17073
|
readonly details: any;
|
|
16980
17074
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/methodName) */
|
|
16981
17075
|
readonly methodName: string;
|
|
16982
|
-
/**
|
|
16983
|
-
* @deprecated
|
|
16984
|
-
*
|
|
16985
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerdetailchange_event)
|
|
16986
|
-
*/
|
|
17076
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerdetailchange_event) */
|
|
16987
17077
|
onpayerdetailchange: ((this: PaymentResponse, ev: Event) => any) | null;
|
|
16988
|
-
/**
|
|
16989
|
-
* @deprecated
|
|
16990
|
-
*
|
|
16991
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerEmail)
|
|
16992
|
-
*/
|
|
17078
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerEmail) */
|
|
16993
17079
|
readonly payerEmail: string | null;
|
|
16994
|
-
/**
|
|
16995
|
-
* @deprecated
|
|
16996
|
-
*
|
|
16997
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName)
|
|
16998
|
-
*/
|
|
17080
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName) */
|
|
16999
17081
|
readonly payerName: string | null;
|
|
17000
|
-
/**
|
|
17001
|
-
* @deprecated
|
|
17002
|
-
*
|
|
17003
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerPhone)
|
|
17004
|
-
*/
|
|
17082
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerPhone) */
|
|
17005
17083
|
readonly payerPhone: string | null;
|
|
17006
17084
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/requestId) */
|
|
17007
17085
|
readonly requestId: string;
|
|
17008
|
-
/**
|
|
17009
|
-
* @deprecated
|
|
17010
|
-
*
|
|
17011
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingAddress)
|
|
17012
|
-
*/
|
|
17086
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingAddress) */
|
|
17013
17087
|
readonly shippingAddress: PaymentAddress | null;
|
|
17014
|
-
/**
|
|
17015
|
-
* @deprecated
|
|
17016
|
-
*
|
|
17017
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingOption)
|
|
17018
|
-
*/
|
|
17088
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingOption) */
|
|
17019
17089
|
readonly shippingOption: string | null;
|
|
17020
17090
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/complete) */
|
|
17021
17091
|
complete(result?: PaymentComplete): Promise<void>;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -4700,12 +4700,19 @@ interface CSSStyleDeclaration {
|
|
|
4700
4700
|
stopOpacity: string;
|
|
4701
4701
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke) */
|
|
4702
4702
|
stroke: string;
|
|
4703
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-dasharray) */
|
|
4703
4704
|
strokeDasharray: string;
|
|
4705
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-dashoffset) */
|
|
4704
4706
|
strokeDashoffset: string;
|
|
4707
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-linecap) */
|
|
4705
4708
|
strokeLinecap: string;
|
|
4709
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-linejoin) */
|
|
4706
4710
|
strokeLinejoin: string;
|
|
4711
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-miterlimit) */
|
|
4707
4712
|
strokeMiterlimit: string;
|
|
4713
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-opacity) */
|
|
4708
4714
|
strokeOpacity: string;
|
|
4715
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-width) */
|
|
4709
4716
|
strokeWidth: string;
|
|
4710
4717
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/tab-size) */
|
|
4711
4718
|
tabSize: string;
|
|
@@ -9919,7 +9926,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
|
9919
9926
|
formTarget: string;
|
|
9920
9927
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels) */
|
|
9921
9928
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
9922
|
-
/**
|
|
9929
|
+
/**
|
|
9930
|
+
* Sets or retrieves the name of the object.
|
|
9931
|
+
*
|
|
9932
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name)
|
|
9933
|
+
*/
|
|
9923
9934
|
name: string;
|
|
9924
9935
|
/**
|
|
9925
9936
|
* Gets the classification and default behavior of the button.
|
|
@@ -9931,12 +9942,21 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
|
|
|
9931
9942
|
readonly validationMessage: string;
|
|
9932
9943
|
/** Returns a ValidityState object that represents the validity states of an element. */
|
|
9933
9944
|
readonly validity: ValidityState;
|
|
9934
|
-
/**
|
|
9945
|
+
/**
|
|
9946
|
+
* Sets or retrieves the default or selected value of the control.
|
|
9947
|
+
*
|
|
9948
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value)
|
|
9949
|
+
*/
|
|
9935
9950
|
value: string;
|
|
9936
9951
|
/** Returns whether an element will successfully validate based on forms validation rules and constraints. */
|
|
9937
9952
|
readonly willValidate: boolean;
|
|
9938
|
-
/**
|
|
9953
|
+
/**
|
|
9954
|
+
* Returns whether a form will validate when it is submitted, without having to submit it.
|
|
9955
|
+
*
|
|
9956
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/checkValidity)
|
|
9957
|
+
*/
|
|
9939
9958
|
checkValidity(): boolean;
|
|
9959
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/reportValidity) */
|
|
9940
9960
|
reportValidity(): boolean;
|
|
9941
9961
|
/**
|
|
9942
9962
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
@@ -10107,6 +10127,7 @@ declare var HTMLDataListElement: {
|
|
|
10107
10127
|
|
|
10108
10128
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement) */
|
|
10109
10129
|
interface HTMLDetailsElement extends HTMLElement {
|
|
10130
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
|
|
10110
10131
|
name: string;
|
|
10111
10132
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open) */
|
|
10112
10133
|
open: boolean;
|
|
@@ -10330,6 +10351,7 @@ interface HTMLFieldSetElement extends HTMLElement {
|
|
|
10330
10351
|
readonly elements: HTMLCollection;
|
|
10331
10352
|
/** Retrieves a reference to the form that the object is embedded in. */
|
|
10332
10353
|
readonly form: HTMLFormElement | null;
|
|
10354
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) */
|
|
10333
10355
|
name: string;
|
|
10334
10356
|
/** Returns the string "fieldset". */
|
|
10335
10357
|
readonly type: string;
|
|
@@ -10339,8 +10361,13 @@ interface HTMLFieldSetElement extends HTMLElement {
|
|
|
10339
10361
|
readonly validity: ValidityState;
|
|
10340
10362
|
/** Returns whether an element will successfully validate based on forms validation rules and constraints. */
|
|
10341
10363
|
readonly willValidate: boolean;
|
|
10342
|
-
/**
|
|
10364
|
+
/**
|
|
10365
|
+
* Returns whether a form will validate when it is submitted, without having to submit it.
|
|
10366
|
+
*
|
|
10367
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/checkValidity)
|
|
10368
|
+
*/
|
|
10343
10369
|
checkValidity(): boolean;
|
|
10370
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/reportValidity) */
|
|
10344
10371
|
reportValidity(): boolean;
|
|
10345
10372
|
/**
|
|
10346
10373
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
@@ -10483,7 +10510,11 @@ interface HTMLFormElement extends HTMLElement {
|
|
|
10483
10510
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/target)
|
|
10484
10511
|
*/
|
|
10485
10512
|
target: string;
|
|
10486
|
-
/**
|
|
10513
|
+
/**
|
|
10514
|
+
* Returns whether a form will validate when it is submitted, without having to submit it.
|
|
10515
|
+
*
|
|
10516
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/checkValidity)
|
|
10517
|
+
*/
|
|
10487
10518
|
checkValidity(): boolean;
|
|
10488
10519
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reportValidity) */
|
|
10489
10520
|
reportValidity(): boolean;
|
|
@@ -11062,7 +11093,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11062
11093
|
checked: boolean;
|
|
11063
11094
|
/** Sets or retrieves the state of the check box or radio button. */
|
|
11064
11095
|
defaultChecked: boolean;
|
|
11065
|
-
/**
|
|
11096
|
+
/**
|
|
11097
|
+
* Sets or retrieves the initial contents of the object.
|
|
11098
|
+
*
|
|
11099
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultValue)
|
|
11100
|
+
*/
|
|
11066
11101
|
defaultValue: string;
|
|
11067
11102
|
dirName: string;
|
|
11068
11103
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled) */
|
|
@@ -11091,14 +11126,31 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11091
11126
|
indeterminate: boolean;
|
|
11092
11127
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels) */
|
|
11093
11128
|
readonly labels: NodeListOf<HTMLLabelElement> | null;
|
|
11094
|
-
/**
|
|
11129
|
+
/**
|
|
11130
|
+
* Specifies the ID of a pre-defined datalist of options for an input element.
|
|
11131
|
+
*
|
|
11132
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/list)
|
|
11133
|
+
*/
|
|
11095
11134
|
readonly list: HTMLDataListElement | null;
|
|
11096
|
-
/**
|
|
11135
|
+
/**
|
|
11136
|
+
* Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.
|
|
11137
|
+
*
|
|
11138
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/max)
|
|
11139
|
+
*/
|
|
11097
11140
|
max: string;
|
|
11098
|
-
/**
|
|
11141
|
+
/**
|
|
11142
|
+
* Sets or retrieves the maximum number of characters that the user can enter in a text control.
|
|
11143
|
+
*
|
|
11144
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/maxLength)
|
|
11145
|
+
*/
|
|
11099
11146
|
maxLength: number;
|
|
11100
|
-
/**
|
|
11147
|
+
/**
|
|
11148
|
+
* Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.
|
|
11149
|
+
*
|
|
11150
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/min)
|
|
11151
|
+
*/
|
|
11101
11152
|
min: string;
|
|
11153
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/minLength) */
|
|
11102
11154
|
minLength: number;
|
|
11103
11155
|
/**
|
|
11104
11156
|
* Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
|
|
@@ -11106,7 +11158,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11106
11158
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/multiple)
|
|
11107
11159
|
*/
|
|
11108
11160
|
multiple: boolean;
|
|
11109
|
-
/**
|
|
11161
|
+
/**
|
|
11162
|
+
* Sets or retrieves the name of the object.
|
|
11163
|
+
*
|
|
11164
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/name)
|
|
11165
|
+
*/
|
|
11110
11166
|
name: string;
|
|
11111
11167
|
/** Gets or sets a string containing a regular expression that the user's input must match. */
|
|
11112
11168
|
pattern: string;
|
|
@@ -11132,7 +11188,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11132
11188
|
size: number;
|
|
11133
11189
|
/** The address or URL of the a media resource that is to be considered. */
|
|
11134
11190
|
src: string;
|
|
11135
|
-
/**
|
|
11191
|
+
/**
|
|
11192
|
+
* Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.
|
|
11193
|
+
*
|
|
11194
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/step)
|
|
11195
|
+
*/
|
|
11136
11196
|
step: string;
|
|
11137
11197
|
/**
|
|
11138
11198
|
* Returns the content type of the object.
|
|
@@ -11752,13 +11812,19 @@ declare var HTMLMetaElement: {
|
|
|
11752
11812
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement)
|
|
11753
11813
|
*/
|
|
11754
11814
|
interface HTMLMeterElement extends HTMLElement {
|
|
11815
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high) */
|
|
11755
11816
|
high: number;
|
|
11756
11817
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels) */
|
|
11757
11818
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
11819
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low) */
|
|
11758
11820
|
low: number;
|
|
11821
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max) */
|
|
11759
11822
|
max: number;
|
|
11823
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min) */
|
|
11760
11824
|
min: number;
|
|
11825
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum) */
|
|
11761
11826
|
optimum: number;
|
|
11827
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value) */
|
|
11762
11828
|
value: number;
|
|
11763
11829
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMeterElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11764
11830
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -11938,6 +12004,7 @@ interface HTMLObjectElement extends HTMLElement {
|
|
|
11938
12004
|
*/
|
|
11939
12005
|
checkValidity(): boolean;
|
|
11940
12006
|
getSVGDocument(): Document | null;
|
|
12007
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/reportValidity) */
|
|
11941
12008
|
reportValidity(): boolean;
|
|
11942
12009
|
/**
|
|
11943
12010
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
@@ -11996,7 +12063,11 @@ interface HTMLOptionElement extends HTMLElement {
|
|
|
11996
12063
|
selected: boolean;
|
|
11997
12064
|
/** Sets or retrieves the text string specified by the option tag. */
|
|
11998
12065
|
text: string;
|
|
11999
|
-
/**
|
|
12066
|
+
/**
|
|
12067
|
+
* Sets or retrieves the value which is returned to the server when the form control is submitted.
|
|
12068
|
+
*
|
|
12069
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/value)
|
|
12070
|
+
*/
|
|
12000
12071
|
value: string;
|
|
12001
12072
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
12002
12073
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12074,6 +12145,7 @@ interface HTMLOutputElement extends HTMLElement {
|
|
|
12074
12145
|
readonly htmlFor: DOMTokenList;
|
|
12075
12146
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */
|
|
12076
12147
|
readonly labels: NodeListOf<HTMLLabelElement>;
|
|
12148
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) */
|
|
12077
12149
|
name: string;
|
|
12078
12150
|
/** Returns the string "output". */
|
|
12079
12151
|
readonly type: string;
|
|
@@ -12083,10 +12155,14 @@ interface HTMLOutputElement extends HTMLElement {
|
|
|
12083
12155
|
* Returns the element's current value.
|
|
12084
12156
|
*
|
|
12085
12157
|
* Can be set, to change the value.
|
|
12158
|
+
*
|
|
12159
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value)
|
|
12086
12160
|
*/
|
|
12087
12161
|
value: string;
|
|
12088
12162
|
readonly willValidate: boolean;
|
|
12163
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity) */
|
|
12089
12164
|
checkValidity(): boolean;
|
|
12165
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity) */
|
|
12090
12166
|
reportValidity(): boolean;
|
|
12091
12167
|
setCustomValidity(error: string): void;
|
|
12092
12168
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOutputElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12347,7 +12423,11 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12347
12423
|
length: number;
|
|
12348
12424
|
/** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. */
|
|
12349
12425
|
multiple: boolean;
|
|
12350
|
-
/**
|
|
12426
|
+
/**
|
|
12427
|
+
* Sets or retrieves the name of the object.
|
|
12428
|
+
*
|
|
12429
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name)
|
|
12430
|
+
*/
|
|
12351
12431
|
name: string;
|
|
12352
12432
|
/**
|
|
12353
12433
|
* Returns an HTMLOptionsCollection of the list of options.
|
|
@@ -12422,6 +12502,7 @@ interface HTMLSelectElement extends HTMLElement {
|
|
|
12422
12502
|
*/
|
|
12423
12503
|
remove(): void;
|
|
12424
12504
|
remove(index: number): void;
|
|
12505
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/reportValidity) */
|
|
12425
12506
|
reportValidity(): boolean;
|
|
12426
12507
|
/**
|
|
12427
12508
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
@@ -13104,7 +13185,11 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
13104
13185
|
/** Sets or retrieves the maximum number of characters that the user can enter in a text control. */
|
|
13105
13186
|
maxLength: number;
|
|
13106
13187
|
minLength: number;
|
|
13107
|
-
/**
|
|
13188
|
+
/**
|
|
13189
|
+
* Sets or retrieves the name of the object.
|
|
13190
|
+
*
|
|
13191
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/name)
|
|
13192
|
+
*/
|
|
13108
13193
|
name: string;
|
|
13109
13194
|
/** Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. */
|
|
13110
13195
|
placeholder: string;
|
|
@@ -13130,14 +13215,23 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
13130
13215
|
readonly validationMessage: string;
|
|
13131
13216
|
/** Returns a ValidityState object that represents the validity states of an element. */
|
|
13132
13217
|
readonly validity: ValidityState;
|
|
13133
|
-
/**
|
|
13218
|
+
/**
|
|
13219
|
+
* Retrieves or sets the text in the entry field of the textArea element.
|
|
13220
|
+
*
|
|
13221
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/value)
|
|
13222
|
+
*/
|
|
13134
13223
|
value: string;
|
|
13135
13224
|
/** Returns whether an element will successfully validate based on forms validation rules and constraints. */
|
|
13136
13225
|
readonly willValidate: boolean;
|
|
13137
13226
|
/** Sets or retrieves how to handle wordwrapping in the object. */
|
|
13138
13227
|
wrap: string;
|
|
13139
|
-
/**
|
|
13228
|
+
/**
|
|
13229
|
+
* Returns whether a form will validate when it is submitted, without having to submit it.
|
|
13230
|
+
*
|
|
13231
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/checkValidity)
|
|
13232
|
+
*/
|
|
13140
13233
|
checkValidity(): boolean;
|
|
13234
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) */
|
|
13141
13235
|
reportValidity(): boolean;
|
|
13142
13236
|
/** Highlights the input area of a form element. */
|
|
13143
13237
|
select(): void;
|
|
@@ -16979,43 +17073,19 @@ interface PaymentResponse extends EventTarget {
|
|
|
16979
17073
|
readonly details: any;
|
|
16980
17074
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/methodName) */
|
|
16981
17075
|
readonly methodName: string;
|
|
16982
|
-
/**
|
|
16983
|
-
* @deprecated
|
|
16984
|
-
*
|
|
16985
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerdetailchange_event)
|
|
16986
|
-
*/
|
|
17076
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerdetailchange_event) */
|
|
16987
17077
|
onpayerdetailchange: ((this: PaymentResponse, ev: Event) => any) | null;
|
|
16988
|
-
/**
|
|
16989
|
-
* @deprecated
|
|
16990
|
-
*
|
|
16991
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerEmail)
|
|
16992
|
-
*/
|
|
17078
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerEmail) */
|
|
16993
17079
|
readonly payerEmail: string | null;
|
|
16994
|
-
/**
|
|
16995
|
-
* @deprecated
|
|
16996
|
-
*
|
|
16997
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName)
|
|
16998
|
-
*/
|
|
17080
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName) */
|
|
16999
17081
|
readonly payerName: string | null;
|
|
17000
|
-
/**
|
|
17001
|
-
* @deprecated
|
|
17002
|
-
*
|
|
17003
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerPhone)
|
|
17004
|
-
*/
|
|
17082
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerPhone) */
|
|
17005
17083
|
readonly payerPhone: string | null;
|
|
17006
17084
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/requestId) */
|
|
17007
17085
|
readonly requestId: string;
|
|
17008
|
-
/**
|
|
17009
|
-
* @deprecated
|
|
17010
|
-
*
|
|
17011
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingAddress)
|
|
17012
|
-
*/
|
|
17086
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingAddress) */
|
|
17013
17087
|
readonly shippingAddress: PaymentAddress | null;
|
|
17014
|
-
/**
|
|
17015
|
-
* @deprecated
|
|
17016
|
-
*
|
|
17017
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingOption)
|
|
17018
|
-
*/
|
|
17088
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingOption) */
|
|
17019
17089
|
readonly shippingOption: string | null;
|
|
17020
17090
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/complete) */
|
|
17021
17091
|
complete(result?: PaymentComplete): Promise<void>;
|