Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
fix: opt should be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
marionebl committed Sep 10, 2018
1 parent c7ee6f4 commit 16e51b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/user-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<UserStoreProperty>({
Expand Down

0 comments on commit 16e51b1

Please sign in to comment.