Skip to content

Commit

Permalink
Fix leftover in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 3, 2021
1 parent edf7089 commit 69a56e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Promisify an event by waiting for it to be emitted.
@example
```
import {pEvent} = require('p-event');
import {pEvent} from 'p-event';
import emitter from './some-event-emitter';
// In Node.js:
Expand Down

0 comments on commit 69a56e8

Please sign in to comment.