mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: fix the type information in in-app-purchase (#12824)
Method returns Boolean, Manually confirmed the correctness by running `npm run create-api-json`.
This commit is contained in:
@@ -30,7 +30,7 @@ The `inAppPurchase` module has the following methods:
|
||||
|
||||
### `inAppPurchase.canMakePayments()`
|
||||
|
||||
Returns `true` if the user can make a payment and `false` otherwise.
|
||||
Returns `Boolean`, whether a user can make a payment.
|
||||
|
||||
### `inAppPurchase.getReceiptURL()`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user