diff options
author | king8fisher <140904760+king8fisher@users.noreply.github.com> | 2024-01-15 23:57:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 13:57:06 +0900 |
commit | 7d29eb0f639635461f43b2092868d2f8fe1bdff7 (patch) | |
tree | ef7833f3dfd6b24d9b9e0dba04cb1dbef5e09f4d | |
parent | 4e72ca313a8fa1d826783bdc5657937da97d590c (diff) |
docs(ns): add a notice on file order returned by readDir (#21953)
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index a761c8d9a..4107e1369 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -3415,7 +3415,7 @@ declare namespace Deno { } /** Reads the directory given by `path` and returns an async iterable of - * {@linkcode Deno.DirEntry}. + * {@linkcode Deno.DirEntry}. The order of entries is not guaranteed. * * ```ts * for await (const dirEntry of Deno.readDir("/")) { @@ -3433,7 +3433,7 @@ declare namespace Deno { export function readDir(path: string | URL): AsyncIterable<DirEntry>; /** Synchronously reads the directory given by `path` and returns an iterable - * of `Deno.DirEntry`. + * of {@linkcode Deno.DirEntry}. The order of entries is not guaranteed. * * ```ts * for (const dirEntry of Deno.readDirSync("/")) { |