summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-05-30 16:42:31 +0200
committerGitHub <noreply@github.com>2022-05-30 16:42:31 +0200
commit787e794027bbb2f13980db483f83f7a05fed3078 (patch)
tree2c7d8b1af9d4d92b69c1fc3ce571944ea1609133 /cli/dts/lib.deno.ns.d.ts
parent0cfdf5cedefe827cd28d9cef006fc78e1c054e98 (diff)
chore: update deprecated APIs docs (#14756)
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/dts/lib.deno.ns.d.ts16
1 files changed, 9 insertions, 7 deletions
diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts
index 019ab240b..ff1636d4d 100644
--- a/cli/dts/lib.deno.ns.d.ts
+++ b/cli/dts/lib.deno.ns.d.ts
@@ -621,8 +621,8 @@ declare namespace Deno {
*
* Implementations should not retain a reference to `p`.
*
- * Use iter() from https://deno.land/std/io/util.ts to turn a Reader into an
- * AsyncIterator.
+ * Use `itereateReader` from from https://deno.land/std/streams/conversion.ts to
+ * turn a Reader into an AsyncIterator.
*/
read(p: Uint8Array): Promise<number | null>;
}
@@ -646,8 +646,8 @@ declare namespace Deno {
*
* Implementations should not retain a reference to `p`.
*
- * Use iterSync() from https://deno.land/std/io/util.ts to turn a ReaderSync
- * into an Iterator.
+ * Use `iterateReaderSync()` from from https://deno.land/std/streams/conversion.ts
+ * to turn a ReaderSync into an Iterator.
*/
readSync(p: Uint8Array): number | null;
}
@@ -883,7 +883,8 @@ declare namespace Deno {
* not indicate EOF.
*
* This function is one of the lowest level APIs and most users should not
- * work with this directly, but rather use Deno.readAllSync() instead.
+ * work with this directly, but rather use
+ * `readAllSync()` from https://deno.land/std/streams/conversion.ts instead.
*
* **It is not guaranteed that the full buffer will be read in a single call.**
*
@@ -907,7 +908,8 @@ declare namespace Deno {
* not indicate EOF.
*
* This function is one of the lowest level APIs and most users should not
- * work with this directly, but rather use Deno.readAll() instead.
+ * work with this directly, but rather use
+ * `readAll()` from https://deno.land/std/streams/conversion.ts instead.
*
* **It is not guaranteed that the full buffer will be read in a single call.**
*
@@ -946,7 +948,7 @@ declare namespace Deno {
*
* Resolves to the number of bytes written. This function is one of the lowest
* level APIs and most users should not work with this directly, but rather use
- * Deno.writeAll() instead.
+ * `writeAll()` from https://deno.land/std/streams/conversion.ts instead.
*
* **It is not guaranteed that the full buffer will be written in a single
* call.**