Skip to content

ERROR in node_modules/firebase/index.d.ts(134,13): error TS2304: Cannot find name 'unknown'. #2780

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

Closed
kartik-sampath opened this issue Mar 21, 2020 · 4 comments · Fixed by #2789
Assignees

Comments

@kartik-sampath
Copy link

kartik-sampath commented Mar 21, 2020

Angular version 6
typescript 2.9.2
node 8.9.4
firebase 7.4

@google-oss-bot
Copy link
Contributor

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@zarko-tg
Copy link

Screenshot 2020-03-23 at 08 44 03

typescript 2.8.4

@Feiyang1
Copy link
Member

Feiyang1 commented Mar 23, 2020

Thanks for the report! #2434 introduced the type unknown that's added in Typescript 3.0. It is technically a breaking change, so it should be done in a major release, we will revert the change.

For now, can you please stay at 7.11.0, or if possible, upgrade your typescript to 3.0 or above?

@zarko-tg
Copy link

@Feiyang1 We're staying on 7.11.0 for now. Upgrading Typescript is usually the least desirable option as it's typically locked/recommended to some version by one or another framework (version).

@firebase firebase locked and limited conversation to collaborators Apr 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants