From ebc3e88fce4f392489183243066f39200e61e799 Mon Sep 17 00:00:00 2001 From: su Date: Sat, 20 Feb 2021 18:31:37 +0800 Subject: [PATCH] docs(api): fix typo (#6911) Issue: #6903 Co-authored-by: susan51531 <804885378@qq.com> --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 842a06be80abd..5d691515ee197 100644 --- a/docs/api.md +++ b/docs/api.md @@ -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