mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 12:58:54 -05:00
remove unnecessary await in docs (#7012)
This commit is contained in:
parent
da98f9e3a1
commit
dad74c3706
1 changed files with 1 additions and 1 deletions
2
cli/dts/lib.deno.unstable.d.ts
vendored
2
cli/dts/lib.deno.unstable.d.ts
vendored
|
@ -48,7 +48,7 @@ declare namespace Deno {
|
||||||
* Gets the size of the console as columns/rows.
|
* Gets the size of the console as columns/rows.
|
||||||
*
|
*
|
||||||
* ```ts
|
* ```ts
|
||||||
* const { columns, rows } = await Deno.consoleSize(Deno.stdout.rid);
|
* const { columns, rows } = Deno.consoleSize(Deno.stdout.rid);
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
export function consoleSize(
|
export function consoleSize(
|
||||||
|
|
Loading…
Reference in a new issue