Skip to content

Commit 1a54d1f

Browse files
authored
Merge pull request #320 from 1000ch/master
Support old spec
2 parents 4d5f2a1 + 67b790f commit 1a54d1f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

baselines/dom.generated.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ interface PaymentDetails {
696696
interface PaymentDetailsModifier {
697697
additionalDisplayItems?: PaymentItem[];
698698
data?: any;
699-
supportedMethods: string;
699+
supportedMethods: string | string[];
700700
total?: PaymentItem;
701701
}
702702

@@ -708,7 +708,7 @@ interface PaymentItem {
708708

709709
interface PaymentMethodData {
710710
data?: any;
711-
supportedMethods: string;
711+
supportedMethods: string | string[];
712712
}
713713

714714
interface PaymentOptions {

inputfiles/overridingTypes.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,12 +1610,12 @@
16101610
"kind": "property",
16111611
"interface": "PaymentMethodData",
16121612
"name": "supportedMethods",
1613-
"type": "string"
1613+
"type": "string | string[]"
16141614
},
16151615
{
16161616
"kind": "property",
16171617
"interface": "PaymentDetailsModifier",
16181618
"name": "supportedMethods",
1619-
"type": "string"
1619+
"type": "string | string[]"
16201620
}
1621-
]
1621+
]

0 commit comments

Comments
 (0)