Skip to content

Commit

Permalink
docs: omit generic [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Nov 5, 2020
1 parent d14e7cc commit a54327c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function subscribe<T>(payload: SubscribePayload): AsyncIterableIterator<T> {
}

(async () => {
const subscription = subscribe<string>({
const subscription = subscribe({
query: 'subscription { greetings }',
});
// subscription.return() to dispose
Expand Down

0 comments on commit a54327c

Please sign in to comment.