File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -280,17 +280,17 @@ export class ModelApi<N extends JsonNode = JsonNode> implements SyncStore<JsonNo
280280 *
281281 * @returns Callback to stop auto flushing.
282282 */
283- public autoFlush ( ) : ( ( ) => void ) {
283+ public autoFlush ( ) : ( ) => void {
284284 const drain = ( ) => this . builder . patch . ops . length && this . flush ( ) ;
285285 const onLocalChangesUnsubscribe = this . onLocalChanges . listen ( drain ) ;
286286 const onBeforeTransactionUnsubscribe = this . onBeforeTransaction . listen ( drain ) ;
287287 const onTransactionUnsubscribe = this . onTransaction . listen ( drain ) ;
288- return this . stopAutoFlush = ( ) => {
288+ return ( this . stopAutoFlush = ( ) => {
289289 this . stopAutoFlush = undefined ;
290290 onLocalChangesUnsubscribe ( ) ;
291291 onBeforeTransactionUnsubscribe ( ) ;
292292 onTransactionUnsubscribe ( ) ;
293- } ;
293+ } ) ;
294294 }
295295
296296 // ---------------------------------------------------------------- SyncStore
You can’t perform that action at this time.
0 commit comments