docs(api): fix typo (#6911)

Issue: #6903
Co-authored-by: susan51531 <804885378@qq.com>
This commit is contained in:
su 2021-02-20 18:31:37 +08:00 committed by GitHub
parent b046fd79bd
commit ebc3e88fce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4202,7 +4202,7 @@ TimeoutError is emitted whenever certain operations are terminated due to timeou
A small EventEmitter class backed by [Mitt](https://github.com/developit/mitt/).
#### eventEmitter.addListener(event, handler)
- `event` <[string]|[symbol]> the event to remove the handler from.
- `event` <[string]|[symbol]> the event to add the handler to.
- `handler` <[Function]> the event listener that will be added.
- returns: `this` so you can chain method calls