Ensure PayPal SDK is treated as loaded (#681)
This commit is contained in:
parent
dda0dbbcd4
commit
09792f2af0
@ -10,7 +10,7 @@ declare global {
|
||||
}
|
||||
}
|
||||
|
||||
type PayPalNamespace = typeof window.paypal
|
||||
type PayPalNamespace = NonNullable<typeof window.paypal>
|
||||
|
||||
type PayPalButtonsComponent = ReturnType<NonNullable<PayPalNamespace>['Buttons']>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user