Skip to content

Commit

Permalink
docs(docs/asynciterable/converting.md): Fix fromEventPattern import (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsbradleyjr authored Nov 14, 2022
1 parent 8c83b67 commit f07b7ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/asynciterable/converting.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ The other type of binding is `fromEventPattern` which allows you to have an add

```typescript
import { EventEmitter } from 'events';
import { fromEvent } from 'ix/asynciterable';
import { fromEventPattern } from 'ix/asynciterable';

function getEvents() {
const emitter = new EventEmitter();
Expand Down

0 comments on commit f07b7ef

Please sign in to comment.