You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Bug is reproduced on the 6.0.1 version but not reproducing in 6.0.0-beta.1 TypeScript Property 'formatProps' in type 'UPI' is not assignable to the same property in base type 'UIElement<UPIConfiguration>'.Type '(props: UPIConfiguration) => { defaultMode: UpiMode; apps: { type: TxVariants; id: string; name: string; }[]; url?: string; paymentData?: string; qrCodeData?: string; ... 37 more ...; paymentMethodType?: string; }' is not assignable to type '(props: UPIConfiguration) => UPIConfiguration'.Call signature return types '{ defaultMode: UpiMode; apps: { type: TxVariants; id: string; name: string; }[]; url?: string; paymentData?: string; qrCodeData?: string; brandLogo?: string; order?: Order; ... 35 more ...; paymentMethodType?: string; }' and 'UPIConfiguration' are incompatible.The types of 'apps' are incompatible between these types.Type '{ type: TxVariants; id: string; name: string; }[]' is not assignable to type 'App[]'.Type '{ type: TxVariants; id: string; name: string; }' is not assignable to type 'App'.Types of property 'type' are incompatible.Type 'TxVariants' is not assignable to type 'UpiType'. To Reproduce
Steps to reproduce the behavior:
Add the Adyen Checkout as dependency in the stencil web component
Build
Expected behavior
Build should be proceed.
Screenshots
The text was updated successfully, but these errors were encountered:
Describe the bug
Bug is reproduced on the 6.0.1 version but not reproducing in 6.0.0-beta.1
TypeScript Property 'formatProps' in type 'UPI' is not assignable to the same property in base type 'UIElement<UPIConfiguration>'.Type '(props: UPIConfiguration) => { defaultMode: UpiMode; apps: { type: TxVariants; id: string; name: string; }[]; url?: string; paymentData?: string; qrCodeData?: string; ... 37 more ...; paymentMethodType?: string; }' is not assignable to type '(props: UPIConfiguration) => UPIConfiguration'.Call signature return types '{ defaultMode: UpiMode; apps: { type: TxVariants; id: string; name: string; }[]; url?: string; paymentData?: string; qrCodeData?: string; brandLogo?: string; order?: Order; ... 35 more ...; paymentMethodType?: string; }' and 'UPIConfiguration' are incompatible.The types of 'apps' are incompatible between these types.Type '{ type: TxVariants; id: string; name: string; }[]' is not assignable to type 'App[]'.Type '{ type: TxVariants; id: string; name: string; }' is not assignable to type 'App'.Types of property 'type' are incompatible.Type 'TxVariants' is not assignable to type 'UpiType'.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Build should be proceed.
Screenshots
![image](https://private-user-images.githubusercontent.com/107395758/353354330-024805d9-6424-4204-906a-beb99943177e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2MTA4MzgsIm5iZiI6MTcyMzYxMDUzOCwicGF0aCI6Ii8xMDczOTU3NTgvMzUzMzU0MzMwLTAyNDgwNWQ5LTY0MjQtNDIwNC05MDZhLWJlYjk5OTQzMTc3ZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxNFQwNDQyMThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05MzZhNjkwNjM3M2M2M2JiMjA3OGZhNTU3ZDE0YzIwOGY3NzdlZWRiYWE2OTljYWJmNTI5NTNlOGY2YzA3ZDdkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.CFFpHkDsaUlQ8RfBVeMd_oOEUp_4LLNKMSOhZZduiSk)
The text was updated successfully, but these errors were encountered: