mirror of
https://github.com/denoland/deno
synced 2024-10-04 07:09:20 +00: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
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…
Reference in a new issue