Ensure PayPal SDK is treated as loaded (#681)

This commit is contained in:
shenlan 2025-11-21 19:30:05 +08:00 committed by GitHub
parent dda0dbbcd4
commit 09792f2af0

View File

@ -10,7 +10,7 @@ declare global {
}
}
type PayPalNamespace = typeof window.paypal
type PayPalNamespace = NonNullable<typeof window.paypal>
type PayPalButtonsComponent = ReturnType<NonNullable<PayPalNamespace>['Buttons']>