Skip to content

Commit 82c630b

Browse files
committed
Make PaymentItem.type nullable
1 parent e299586 commit 82c630b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,7 +1854,7 @@

18541854
required DOMString label;
18551855
required PaymentCurrencyAmount amount;
18561856
boolean pending = false;
1857-
PaymentItemType type;
1857+
PaymentItemType? type;
18581858
};
18591859
pre>
18601860
<p>
@@ -1891,10 +1891,11 @@

18911891
<dfn>typedfn> member
18921892
dt>
18931893
<dd>
1894-
A <a>PaymentItemTypea> enum value. A the value of <a>typea> to
1895-
assist in the presentation of <a>PaymentItema> by, for example,
1896-
visually grouping types together or other otherwise distinguishing
1897-
them from other types (or from items that have no associated type).
1894+
A <a>PaymentItemTypea> enum value or null. A user agent MAY use the
1895+
value of <a>typea> to assist in the presentation of
1896+
<a>PaymentItema> by, for example, visually grouping types together
1897+
or other otherwise distinguishing them from other types (or from
1898+
items that have no associated type).
18981899
dd>
18991900
dl>
19001901
section>

0 commit comments

Comments
 (0)