From 7d29eb0f639635461f43b2092868d2f8fe1bdff7 Mon Sep 17 00:00:00 2001 From: king8fisher <140904760+king8fisher@users.noreply.github.com> Date: Mon, 15 Jan 2024 23:57:06 -0500 Subject: [PATCH] docs(ns): add a notice on file order returned by readDir (#21953) --- cli/tsc/dts/lib.deno.ns.d.ts | 4 ++-- 1 file 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 a761c8d9a7..4107e13693 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; /** 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("/")) {