Skip to content

Commit

Permalink
fix(resource state type): allow any shape, not just arrays, to be pro…
Browse files Browse the repository at this point in the history
…vided
  • Loading branch information
larrybotha committed Aug 28, 2018
1 parent 142d29b commit f515553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/stream-creator-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface Resource {
}
export interface ResourceState<R = {[key: string]: any}> {
entity: R | null;
items: R[];
items: R | null;
lastError: Error;
requestEffect: RequestEffect;
requestState: RequestState;
Expand Down

0 comments on commit f515553

Please sign in to comment.