Make PaymentRequest .show method param optional #44560
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Help Wanted
You can do this
Milestone
Bug Report
#44423 added types for the promise param on the
.show()
method onPaymentRequest
. The spec states that this parameter is optional#44559
🔎 Search Terms
show method PaymentRequest
🕗 Version & Regression Information
not present in 4.2.3, present in 4.3.2
⏯ Playground Link
Playground link with relevant code
💻 Code
the type definition just needs to be tweaked slightly
🙁 Actual behavior
🙂 Expected behavior
The text was updated successfully, but these errors were encountered: