Skip to content

Commit

Permalink
Mark Deno.pid and Deno.noColor as const (denoland#5593)
Browse files Browse the repository at this point in the history
  • Loading branch information
buckle2000 committed May 19, 2020
1 parent 6072755 commit 1be7ec4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/js/lib.deno.ns.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ declare namespace Deno {
};

/** The current process id of the runtime. */
export let pid: number;
export const pid: number;

/** Reflects the `NO_COLOR` environment variable.
*
* See: https://no-color.org/ */
export let noColor: boolean;
export const noColor: boolean;

export interface TestDefinition {
fn: () => void | Promise<void>;
Expand Down

0 comments on commit 1be7ec4

Please sign in to comment.