Skip to content

Commit 9de446c

Browse files
committed
Fix typos
1 parent e3d9c2b commit 9de446c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/firestore/src/local/indexeddb_query_cache.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class IndexedDbQueryCache implements QueryCache {
4444
constructor(private serializer: LocalSerializer) {}
4545

4646
/**
47-
* The last received snapshot version. We store this seperately from the
47+
* The last received snapshot version. We store this separately from the
4848
* metadata to avoid the extra conversion to/from DbTimestamp.
4949
*/
5050
private lastRemoteSnapshotVersion = SnapshotVersion.MIN;
@@ -173,7 +173,7 @@ export class IndexedDbQueryCache implements QueryCache {
173173
): PersistencePromise<QueryData | null> {
174174
// Iterating by the canonicalId may yield more than one result because
175175
// canonicalId values are not required to be unique per target. This query
176-
// depends on the queryTargets index to be efficent.
176+
// depends on the queryTargets index to be efficient.
177177
const canonicalId = query.canonicalId();
178178
const range = IDBKeyRange.bound(
179179
[canonicalId, Number.NEGATIVE_INFINITY],
@@ -202,7 +202,7 @@ export class IndexedDbQueryCache implements QueryCache {
202202
targetId: TargetId
203203
): PersistencePromise<void> {
204204
// PORTING NOTE: The reverse index (documentsTargets) is maintained by
205-
// Indexeddb.
205+
// IndexedDb.
206206
const promises: Array<PersistencePromise<void>> = [];
207207
const store = documentTargetStore(txn);
208208
keys.forEach(key => {

0 commit comments

Comments
 (0)