Skip to content

Commit 78d92d2

Browse files
committed
remove parameter default value
1 parent 3b2f2c7 commit 78d92d2

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

packages/firestore/src/core/view.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ export class View {
284284
docChanges: ViewDocumentChanges,
285285
updateLimboDocuments: boolean,
286286
targetChange?: TargetChange,
287-
isPendingForRequeryResult: boolean = false,
287+
isPendingForRequeryResult?: boolean
288288
): ViewChange {
289289
debugAssert(
290290
!docChanges.needsRefill,
@@ -303,15 +303,18 @@ export class View {
303303
});
304304

305305
this.applyTargetChange(targetChange);
306-
const limboChanges = !isPendingForRequeryResult && updateLimboDocuments
307-
? this.updateLimboDocuments()
308-
: [];
306+
const limboChanges =
307+
!isPendingForRequeryResult && updateLimboDocuments
308+
? this.updateLimboDocuments()
309+
: [];
309310

310311
// We are at synced state if there is no limbo docs are waiting to be resolved, view is current
311312
// with the backend, and the query is not pending for full re-query result due to existence
312313
// filter mismatch.
313-
const synced =
314-
this.limboDocuments.size === 0 && this.current && !isPendingForRequeryResult;
314+
const synced =
315+
this.limboDocuments.size === 0 &&
316+
this.current &&
317+
!isPendingForRequeryResult;
315318

316319
const newSyncState = synced ? SyncState.Synced : SyncState.Local;
317320
const syncStateChanged = newSyncState !== this.syncState;

0 commit comments

Comments
 (0)