Skip to content

Commit

Permalink
🐛 Fix incorrect typings for collection operators
Browse files Browse the repository at this point in the history
  • Loading branch information
greena13 committed Jul 29, 2020
1 parent 4a81d2b commit 3000f86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -779,19 +779,19 @@ export interface CreateItemActionCreatorOptions<T> extends RemoteActionCreatorOp
/**
* A An array of list keys to push the new item to the end of.
*/
push?: Array<string>,
push?: Array<ItemOrListParameters>,

/**
* A An array of list keys to add the new item to the beginning of.
*/
unshift?: Array<string>,
unshift?: Array<ItemOrListParameters>,

/**
* A An array of list keys for which to clear (invalidate). This is useful for when you know the item
* that was just created is likely to appear in a list, but you don't know where, so you need to
* re-retrieve the whole list from the server.
*/
invalidate?: Array<string>,
invalidate?: Array<ItemOrListParameters>,
}

export interface DestroyItemActionCreatorOptions<T> extends RemoteActionCreatorOptions<T> {
Expand Down

0 comments on commit 3000f86

Please sign in to comment.