Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An accessor cannot be declared in an ambient context. #120

Closed
anhurtadop opened this issue May 17, 2020 · 4 comments
Closed

An accessor cannot be declared in an ambient context. #120

anhurtadop opened this issue May 17, 2020 · 4 comments

Comments

@anhurtadop
Copy link

Hi @Enngage when my code compile the terminal show me the next message:

`ERROR in node_modules/ngx-paypal/lib/components/paypal.component.d.ts:27:9 - error TS1086: An accessor cannot be declared in an ambient context.

27 set payPalButtonContainer(content: ElementRef);
~~~~~~~~~~~~~~~~~~~~~`

Despite everything it works for me, although I would like to solve that detail

@Enngage
Copy link
Owner

Enngage commented May 18, 2020

@Anhurtado, you are probably using outdated typescript version. I would also recommend deleting your node_modules and performing a clean install just in case. -> see storybookjs/storybook#9463

@Enngage Enngage closed this as completed May 18, 2020
@anhurtadop
Copy link
Author

@Anhurtado i tried with the clean installation and not working. i have typescript v3.5.3

@Enngage
Copy link
Owner

Enngage commented May 19, 2020 via email

@anhurtadop
Copy link
Author

@Enngage I'm development the project right now, i will try to update angular project soon, show you the results. I hope works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants