Skip to content

Commit

Permalink
docs(state): fix TypeScript example of Reducer
Browse files Browse the repository at this point in the history
  • Loading branch information
Malusovium authored and staltz committed May 16, 2019
1 parent 479f556 commit 243cd25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/api/state.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ export interface Sources {

export interface Sinks {
DOM: Stream<VNode>;
state: Stream<Reducer>;
state: Stream<Reducer<State>>;
}

function MyComponent(sources: Sources): Sinks {
Expand Down

0 comments on commit 243cd25

Please sign in to comment.