From 16e51b148e84ed1987cdd1b55f96487e707d7adb Mon Sep 17 00:00:00 2001 From: Mario Nebl Date: Thu, 9 Aug 2018 21:50:42 +0200 Subject: [PATCH] fix: opt should be optional --- src/model/user-store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/user-store.ts b/src/model/user-store.ts index f0b08ed10..207b867fe 100644 --- a/src/model/user-store.ts +++ b/src/model/user-store.ts @@ -264,7 +264,7 @@ export class UserStore { } @Mobx.action - public sync(message: Message.ChangeUserStore, opts: { withEnhancer: boolean }): void { + public sync(message: Message.ChangeUserStore, opts?: { withEnhancer: boolean }): void { const userStore = UserStore.from(message.payload.userStore); const propertyChanges = computeDifference({