diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index c41ad932464..2741fb66446 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -1713,7 +1713,7 @@ changes: added: v10.5.0 --> -* `err` {Error} +* `err` {any} The `'error'` event is emitted if the worker thread throws an uncaught exception. In that case, the worker is terminated.