summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorCarter Snook <cartersnook04@gmail.com>2021-04-25 22:59:22 -0500
committerGitHub <noreply@github.com>2021-04-26 13:59:22 +1000
commit0897bd51a02501882bb32533426b39959a843651 (patch)
tree40c53b31c645fc635cda67bb3519018ba87ee8b4 /cli/dts/lib.deno.ns.d.ts
parentf3751e498faabd524494a4b70c49b1f53fe5ebdd (diff)
fix(#10360): clarify JSDoc for `Deno.noColor` (#10373)
Fixes #10360 Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/dts/lib.deno.ns.d.ts20
1 files changed, 10 insertions, 10 deletions
diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts
index 738d0ba54..7353b1e08 100644
--- a/cli/dts/lib.deno.ns.d.ts
+++ b/cli/dts/lib.deno.ns.d.ts
@@ -89,7 +89,7 @@ declare namespace Deno {
/** The current process id of the runtime. */
export const pid: number;
- /** Reflects the `NO_COLOR` environment variable.
+ /** Reflects the `NO_COLOR` environment variable at program start.
*
* See: https://no-color.org/ */
export const noColor: boolean;
@@ -426,7 +426,7 @@ declare namespace Deno {
/**
* @deprecated Use iter from https://deno.land/std/io/util.ts instead. Deno.iter will be removed in Deno 2.0.
- *
+ *
* Turns a Reader, `r`, into an async iterator.
*
* ```ts
@@ -465,7 +465,7 @@ declare namespace Deno {
/**
* @deprecated Use iterSync from https://deno.land/std/io/util.ts instead. Deno.iterSync will be removed in Deno 2.0.
- *
+ *
* Turns a ReaderSync, `r`, into an iterator.
*
* ```ts
@@ -851,7 +851,7 @@ declare namespace Deno {
/**
* @deprecated Use Buffer from https://deno.land/std/io/buffer.ts instead. Deno.Buffer will be removed in Deno 2.0.
- *
+ *
* A variable-sized buffer of bytes with `read()` and `write()` methods.
*
* Deno.Buffer is almost always used with some I/O like files and sockets. It
@@ -934,7 +934,7 @@ declare namespace Deno {
/**
* @deprecated Use readAll from https://deno.land/std/io/util.ts instead. Deno.readAll will be removed in Deno 2.0.
- *
+ *
* Read Reader `r` until EOF (`null`) and resolve to the content as
* Uint8Array`.
*
@@ -958,7 +958,7 @@ declare namespace Deno {
/**
* @deprecated Use readAllSync from https://deno.land/std/io/util.ts instead. Deno.readAllSync will be removed in Deno 2.0.
- *
+ *
* Synchronously reads Reader `r` until EOF (`null`) and returns the content
* as `Uint8Array`.
*
@@ -982,7 +982,7 @@ declare namespace Deno {
/**
* @deprecated Use writeAll from https://deno.land/std/io/util.ts instead. Deno.readAll will be removed in Deno 2.0.
- *
+ *
* Write all the content of the array buffer (`arr`) to the writer (`w`).
*
* ```ts
@@ -1007,7 +1007,7 @@ declare namespace Deno {
/**
* @deprecated Use writeAllSync from https://deno.land/std/io/util.ts instead. Deno.writeAllSync will be removed in Deno 2.0.
- *
+ *
* Synchronously write all the content of the array buffer (`arr`) to the
* writer (`w`).
*
@@ -2350,7 +2350,7 @@ declare namespace Deno {
* if the file previously was larger than this new length, the extra data is lost.
*
* if the file previously was shorter, it is extended, and the extended part reads as null bytes ('\0').
- *
+ *
* ```ts
* // truncate the entire file
* const file = Deno.open("my_file.txt", { read: true, write: true, truncate: true, create: true });
@@ -2392,7 +2392,7 @@ declare namespace Deno {
*/
export function ftruncate(rid: number, len?: number): Promise<void>;
- /**
+ /**
* Synchronously returns a `Deno.FileInfo` for the given file stream.
*
* ```ts