Skip to content

Commit 10892fe

Browse files
Remove force unwrap
1 parent c2d808c commit 10892fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/firestore/src/core/component_provider.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class IndexedDbComponentProvider implements ComponentProvider {
121121
)
122122
: new MemorySharedClientState();
123123
this.sharedClientState.onlineStateHandler = onlineState =>
124-
this.syncEngine!.applyOnlineStateChange(
124+
this.syncEngine.applyOnlineStateChange(
125125
onlineState,
126126
OnlineStateSource.SharedClientState
127127
);
@@ -151,7 +151,7 @@ export class IndexedDbComponentProvider implements ComponentProvider {
151151
datastore,
152152
asyncQueue,
153153
onlineState =>
154-
this.syncEngine!.applyOnlineStateChange(
154+
this.syncEngine.applyOnlineStateChange(
155155
onlineState,
156156
OnlineStateSource.RemoteStore
157157
),
@@ -249,7 +249,7 @@ export class MemoryComponentProvider implements ComponentProvider {
249249
datastore,
250250
asyncQueue,
251251
onlineState =>
252-
this.syncEngine!.applyOnlineStateChange(
252+
this.syncEngine.applyOnlineStateChange(
253253
onlineState,
254254
OnlineStateSource.RemoteStore
255255
),

0 commit comments

Comments
 (0)