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

Erro remoteConfig() #23

Closed
lucasnpinheiro opened this issue Jul 15, 2020 · 4 comments
Closed

Erro remoteConfig() #23

lucasnpinheiro opened this issue Jul 15, 2020 · 4 comments

Comments

@lucasnpinheiro
Copy link

I'm having a problem in version 0.2.0

an error in remoteConfig ()

ERROR in node_modules/@capacitor-community/firebase-analytics/dist/esm/web.d.ts: 90: 9 - error TS1086: An accessor cannot be declared in an ambient context.

90 get remoteConfig (): any;

Could you tell me how to solve this problem.

@ujeon
Copy link

ujeon commented Jul 21, 2020

I removed get in get remoteConfig (): any; and it works. (but this a makeshift measure I think)

@iamfirdous
Copy link

I removed get in get remoteConfig (): any; and it works. (but this a makeshift measure I think)

That worked for me as well, but it's just a workaround. Waiting for this to be fixed.

@polsola
Copy link

polsola commented Sep 30, 2020

Hello! Is there any update on this issue? As you all people say removing the get works and I see there is a Pull Request with the change made, does updating Typescript fixes the issue also?

@brownoxford
Copy link
Member

This is the result of an unfortunate break in backwards compatibility in the Typescript project, and is now expected functionality. Updating typescript to v3.7 or later should fix this issue.

See this comment for more information on the underlying cause and possible short-term workaround.

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

5 participants