Skip to content

Commit 4bc0bcf

Browse files
committed
Remove extra getFirestore()
1 parent c1757f7 commit 4bc0bcf

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

common/api-review/firestore.api.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,6 @@ export function getDocsFromCache<T>(query: Query<T>): Promise<QuerySnapshot<T>>;
227227
// @public
228228
export function getDocsFromServer<T>(query: Query<T>): Promise<QuerySnapshot<T>>;
229229

230-
// @public
231-
export function getFirestore(): Firestore;
232-
233230
// @public
234231
export function getFirestore(app: FirebaseApp): Firestore;
235232

packages/firestore/src/api/database.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,6 @@ export function initializeFirestore(
188188
});
189189
}
190190

191-
/**
192-
* Returns the existing default {@link Firestore} instance that is associated with the
193-
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
194-
* instance with default settings.
195-
*
196-
* @returns The {@link Firestore} instance of the provided app.
197-
*/
198-
export function getFirestore(): Firestore;
199191
/**
200192
* Returns the existing default {@link Firestore} instance that is associated with the
201193
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new

0 commit comments

Comments
 (0)