From adaf1510402b281c2bab23c0c6148ac30d648bf6 Mon Sep 17 00:00:00 2001 From: Daeyeon Jeong Date: Sun, 11 Sep 2022 21:55:23 +0900 Subject: [PATCH] fixup: update the doc for `process.exitCode` Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com --- doc/api/process.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/api/process.md b/doc/api/process.md index 7cf2dcab36cd3a..9a4e266c783ba5 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1816,9 +1816,15 @@ than the current process. -* {integer} +* {integer|string|null|undefined} The exit code. For string type, only + integer strings (e.g.,'1') are allowed. **Default:** `undefined`. A number which will be the process exit code, when the process either exits gracefully, or is exited via [`process.exit()`][] without specifying