Skip to content

Commit

Permalink
docs(Entity): update upsert code sample to match new signature
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver committed May 10, 2018
1 parent e711c28 commit ce1d3de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/entity/adapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class AddUser implements Action {
export class UpsertUser implements Action {
readonly type = UserActionTypes.UPSERT_USER;

constructor(public payload: { user: Update<User> }) {}
constructor(public payload: { user: User }) {}
}

export class AddUsers implements Action {
Expand All @@ -148,7 +148,7 @@ export class AddUsers implements Action {
export class UpsertUsers implements Action {
readonly type = UserActionTypes.UPSERT_USERS;

constructor(public payload: { users: Update<User>[] }) {}
constructor(public payload: { users: User[] }) {}
}

export class UpdateUser implements Action {
Expand Down

0 comments on commit ce1d3de

Please sign in to comment.