mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 12:58:54 -05:00
Mark Deno.pid and Deno.noColor as const (#5593)
This commit is contained in:
parent
6072755ead
commit
1be7ec47ac
1 changed files with 2 additions and 2 deletions
4
cli/js/lib.deno.ns.d.ts
vendored
4
cli/js/lib.deno.ns.d.ts
vendored
|
@ -27,12 +27,12 @@ declare namespace Deno {
|
||||||
};
|
};
|
||||||
|
|
||||||
/** The current process id of the runtime. */
|
/** The current process id of the runtime. */
|
||||||
export let pid: number;
|
export const pid: number;
|
||||||
|
|
||||||
/** Reflects the `NO_COLOR` environment variable.
|
/** Reflects the `NO_COLOR` environment variable.
|
||||||
*
|
*
|
||||||
* See: https://no-color.org/ */
|
* See: https://no-color.org/ */
|
||||||
export let noColor: boolean;
|
export const noColor: boolean;
|
||||||
|
|
||||||
export interface TestDefinition {
|
export interface TestDefinition {
|
||||||
fn: () => void | Promise<void>;
|
fn: () => void | Promise<void>;
|
||||||
|
|
Loading…
Reference in a new issue