summaryrefslogtreecommitdiff
path: root/cli/tsc
diff options
context:
space:
mode:
authorSol Boucher <sboucher@cmu.edu>2024-03-24 14:04:57 +0700
committerGitHub <noreply@github.com>2024-03-24 08:04:57 +0100
commitae52b49dd6edcfbb88ea39c3fcf0c0cc4b59eee7 (patch)
tree4108666a88357bfc1f5af609513ff4701411ee19 /cli/tsc
parentec9342f95a950ac13f57c85ef577e3bbab180e1a (diff)
docs(dts): Update edge case in `prompt()` docs (#22954)
This has been incorrect since the function adopted its (more intuitive) current behavior in 9268df5f3. The same behavior change was backported to v1.39.3 in 87e954f54.
Diffstat (limited to 'cli/tsc')
-rw-r--r--cli/tsc/dts/lib.deno.window.d.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tsc/dts/lib.deno.window.d.ts b/cli/tsc/dts/lib.deno.window.d.ts
index 83c385aa0..6e57174f8 100644
--- a/cli/tsc/dts/lib.deno.window.d.ts
+++ b/cli/tsc/dts/lib.deno.window.d.ts
@@ -152,7 +152,8 @@ declare function confirm(message?: string): boolean;
* If the default value is given and the user inputs the empty string, then it returns the given
* default value.
*
- * If the default value is not given and the user inputs the empty string, it returns null.
+ * If the default value is not given and the user inputs the empty string, it returns the empty
+ * string.
*
* If the stdin is not interactive, it returns null.
*