summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/dts/lib.deno.ns.d.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts
index e1c558f37..b5b61cd16 100644
--- a/cli/dts/lib.deno.ns.d.ts
+++ b/cli/dts/lib.deno.ns.d.ts
@@ -421,7 +421,11 @@ declare namespace Deno {
seekSync(offset: number, whence: SeekMode): number;
}
- /** Copies from `src` to `dst` until either EOF (`null`) is read from `src` or
+ /**
+ * @deprecated Use `copy` from https://deno.land/std/io/util.ts instead.
+ * `Deno.copy` will be removed in Deno 2.0.
+ *
+ * Copies from `src` to `dst` until either EOF (`null`) is read from `src` or
* an error occurs. It resolves to the number of bytes copied or rejects with
* the first error encountered while copying.
*