1
0
Fork 0
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:
buckle2000 2020-05-18 20:51:54 -05:00 committed by GitHub
parent 6072755ead
commit 1be7ec47ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>;