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

Property 'firebaseArgs' implicitly has type 'any', because its get accessor lacks a return type annotation. #852

Closed
AgungLaksana opened this issue Jan 26, 2021 · 5 comments

Comments

@AgungLaksana
Copy link

AgungLaksana commented Jan 26, 2021

I have this error when trying to recomplie my typescript code using tsc

node_modules/firebase-functions/lib/apps.d.ts:33:21 - error TS7033: Property 'firebaseArgs' implicitly has type 'any', because its get accessor lacks a return type annotation.

33 private get firebaseArgs();

I use this dependecies:
"firebase-admin": "^9.4.2",
"firebase-functions": "^3.13.1"

and currently using engines node 14 and Firebase CLI 9.2.2

how to solve this issue?

@google-oss-bot
Copy link
Collaborator

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@mikgross
Copy link

mikgross commented Feb 8, 2021

Same here after uploading firebase-functions this morning.

node_modules/firebase-functions/lib/apps.d.ts:33:21 - error TS7033: Property 'firebaseArgs' implicitly has type 'any', because its get accessor lacks a return type annotation.
33 private get firebaseArgs();

@AgungLaksana did you solve this ?

@mikgross
Copy link

mikgross commented Feb 8, 2021

A workaround that made the trick:
delete node_modules, delete packages-lock.json, run npm install.

@AgungLaksana
Copy link
Author

AgungLaksana commented Feb 8, 2021 via email

@inlined
Copy link
Member

inlined commented Feb 26, 2021

Closing since this works at HEAD

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

No branches or pull requests

4 participants