Skip to content

Fix process.exitCode’s description. #2271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions std/assembly/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2131,10 +2131,10 @@ declare namespace process {
export const argv: string[];
/** Map of variables in the binary's user environment. */
export const env: Map<string,string>;
/** Process exit code to use when the process exits gracefully. Defaults to `0`. */
export var exitCode: i32;
/** Terminates the process with either the given exit code, or `process.exitCode` if omitted. */
export function exit(code?: i32): void;
/** `exit()`’s default value. Defaults to `0`. */
export var exitCode: i32;
/** Stream connected to `stdin` (fd `0`). */
export const stdin: ReadableStream;
/** Stream connected to `stdout` (fd `1`). */
Expand Down