mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
docs(dts): Update edge case in prompt()
docs (#22954)
This has been incorrect since the function adopted its (more intuitive) current behavior in9268df5f3
. The same behavior change was backported to v1.39.3 in87e954f54
.
This commit is contained in:
parent
ec9342f95a
commit
ae52b49dd6
1 changed files with 2 additions and 1 deletions
3
cli/tsc/dts/lib.deno.window.d.ts
vendored
3
cli/tsc/dts/lib.deno.window.d.ts
vendored
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue