Closed 4i-helpynet closed 1 year ago
Hi @4i-helpynet, is it possible this is a duplicate of https://github.com/richnologies/ngx-stripe/issues/195?
Can you confirm me exactly which version are you using?
Sorry, yes, igore this, I'll try to fix it with #195
I am hitting the same problems on Angular 14 with ngx-stripe 14.3.0 (while ngx-stripe 14.1.0 seems just fine).
Hey @ranma42,
My bad, I only apply the change to 15.X.X
I will try to release a new v14 version today fixing this problem
Hay @ranma42, sorry about the delay. Just publish a new version 14.3.1
that should fix this problem.
Please, let me know if that works for you
Property 'paymentRequest' in type 'StripeInstance' is not assignable to the same property in base type 'StripeServiceInterface'.
@richnologies This error is still occurring in 14.3.1
What can we do @richnologies, I am unable to redeploy my site. Is there any solution?
So sorry guys. Just release a new version 14.3.2
Hopefully this one will fix it for good.
Please let me know if it works for you
I confirm that 14.3.1
does not fix the build issue, whereas after upgrading to 14.3.2
my app builds just fine 🚀
Thank you!
Thanks for the feedback @ranma42
Describe the bug On serve: Error: node_modules/ngx-stripe/lib/services/stripe-instance.class.d.ts:105:5 - error TS2416: Property 'paymentRequest' in type 'StripeInstance' is not assignable to the same property in base type 'StripeServiceInterface'. Type '(options: PaymentRequestOptions) => PaymentRequest | undefined' is not assignable to type '(options: PaymentRequestOptions) => PaymentRequest'. Type 'PaymentRequest | undefined' is not assignable to type 'PaymentRequest'. Type 'undefined' is not assignable to type 'PaymentRequest'.
105 paymentRequest(options: PaymentRequestOptions): PaymentRequest | undefined;