angular / angularfire

Angular + Firebase = ❤️
https://firebaseopensource.com/projects/angular/angularfire2
MIT License
7.67k stars 2.19k forks source link

In vs code, package version 6.0.0 auto imports the breaking package '@angular/fire/firestore/firestore' instead of '@angular/fire/firestore' #2474

Closed moscoso closed 3 years ago

moscoso commented 4 years ago

Version info

Angular:

Firebase:

AngularFire: 6.0.0

Other (e.g. Ionic/Cordova, Node, browser, operating system):

How to reproduce these conditions

In an Angular project, try to inject AngularFirestore as a depedency:

@Component({ 'selector': 'app-create', 'templateUrl': './create.page.html', 'styleUrls': ['./create.page.scss'], }) export class CreatePage implements OnInit {

constructor(
    public angularFire: AngularFirestore,
) {}

}

Expected behavior

Vs code to auto import import { AngularFirestore } from '@angular/fire/firestore';

Actual behavior

import { AngularFirestore } from '@angular/fire/firestore/firestore;

jamesdaniels commented 3 years ago

Not a AngularFire issue IMO and I haven't seen it in a while, did VS Code fix this?