-
Notifications
You must be signed in to change notification settings - Fork 874
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
Did Firebase.js 7.x break compatibility with Typescript 2.6.x? #2335
Comments
I found a few problems with this issue:
|
Yes, it did break compatibility with Typescript versions prior to 2.8. It wasn't intentional, but we used a conditional type for analytics that is not recognized by pre-2.8 versions of Typescript. Are you able to upgrade your Typescript version? I was able to We are looking into what we might be able to do to fix it for users of earlier Typescript versions but if you are able to safely upgrade Typescript to 2.8+ this may be the quickest way to unblock you for now. |
Thank you for the quick response. I don't think it's a viable option (for larger Ionic/projects) but I can give it a go (again) asap. |
We'll try out running with TS 2.8.4 as the compilation seems fine with it. Feel free to close this issue when you see fit. |
Thanks for the input, @zarko-tg. We are pleased to let you know that we have added this info on our release notes.
|
Reposting from SO (https://stackoverflow.com/questions/58657228/did-firebase-js-7-x-broke-compatibility-with-typescript-2-6-x) since we aren't getting anywhere.
(All) Ionic 3 apps cannot compile since Firebase 7.0.0. Was compatibility with Typescript 2.6.x abandoned without checking or informing about it?
Steps to reproduce:
import * as firebase from 'firebase/app';
Compilation fails, see the SO issue for output log.
The pretty standard tsconfig.json used is:
Environment:
Ionic CLI : 5.4.5
Ionic Framework : ionic-angular 3.9.5
@ionic/app-scripts : 3.2.2
NodeJS : v12.13.0
npm : 6.12.0
OS : macOS Catalina
The text was updated successfully, but these errors were encountered: