1
0
Fork 0
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:
迷渡 2020-08-11 11:22:10 +08:00 committed by GitHub
parent da98f9e3a1
commit dad74c3706
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(