Skip to content

Commit 61b7bf6

Browse files
committed
style(json-crdt): 💄 run Prettier
1 parent 247dab3 commit 61b7bf6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/json-crdt/model/api/ModelApi.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)