Open clates opened 1 year ago
Thanks @clates for reporting this. If you use skipLibCheck: true
in your Angular 14 app it works for your. Correct?
If you use skipLibCheck: true in your Angular 14 app it works for your. Correct?
Yes, that's correct.
Any news? I don't want to use skipLibCheck: true. and I want to use the updated version of this library ( I work with angular14 too )
@oritpersik Unfortunately not. At the moment you have to use skipLibCheck: true
. We will think about potentially supporting multiple major Angular versions in the future.
Describe the bug A clear and concise description of what the bug is.
When installing @google-pay/button-angular via
yarn add @google-pay/button-angular
on an Angular 14 project, you will encounter the following error.To Reproduce Steps to reproduce the behavior:
yarn add @google-pay/button-angular
3.0.1
/3.0.0
Expected behavior No type error
Component information:
@google-pay/button-react
)@google-pay/button-element
)@google-pay/button-angular
)Component version (e.g. 1.0.0):
> 3.0.1
Additional context Add any other context about the problem here.
Workaround
3.0.1-3.0.0 compile fine. Suspect something went wrong during the Angular 15 upgrade in the 3.0.2 release.
You could also keep the 3.0.5 and
skipLibCheck: true
in yourtsconfig.json
See a functional example on a fresh Ang14 repository here using 3.0.0 and the non-functional 3.0.5 example here