Skip to content

Commit 618460c

Browse files
authored
fix: Fix process.exitCode description (#2271)
1 parent ac01b0a commit 618460c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: std/assembly/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2152,10 +2152,10 @@ declare namespace process {
21522152
export const argv: string[];
21532153
/** Map of variables in the binary's user environment. */
21542154
export const env: Map<string,string>;
2155-
/** Process exit code to use when the process exits gracefully. Defaults to `0`. */
2156-
export var exitCode: i32;
21572155
/** Terminates the process with either the given exit code, or `process.exitCode` if omitted. */
21582156
export function exit(code?: i32): void;
2157+
/** `exit()`’s default value. Defaults to `0`. */
2158+
export var exitCode: i32;
21592159
/** Stream connected to `stdin` (fd `0`). */
21602160
export const stdin: ReadableStream;
21612161
/** Stream connected to `stdout` (fd `1`). */

0 commit comments

Comments
 (0)