-
Notifications
You must be signed in to change notification settings - Fork 203
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. #667
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
@eng-dibo I have the same problem today, It worked fine yesterday. Have you found a solution? |
No, but it seems you have to update your typescript version. |
Hey all, thanks for reporting this. What typescript version were you on when you got this error, and what typescript version did you downgrade to when you fixed it? |
at the time of this error appeared, I used the same Typescript as before updating firebase-tools. |
Thanks for reporting! Looks like we needed to update our TS version. Will be addressed in #668. For now you can resolve by running this in your functions directory:
|
I recently updated firebase-functions and all fire base related packages, but I got an error :
An accessor cannot be declared in an ambient context.
when I tried to build my project.before this update my project run and deployed successfully to firebase, no any other modification made.
error details:
The text was updated successfully, but these errors were encountered: