mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
docs: Removed unnecessary await
(#6951)
This commit is contained in:
parent
bda9f61972
commit
8bacd710db
1 changed files with 1 additions and 1 deletions
2
cli/dts/lib.deno.ns.d.ts
vendored
2
cli/dts/lib.deno.ns.d.ts
vendored
|
@ -1565,7 +1565,7 @@ declare namespace Deno {
|
||||||
* else overwriting.
|
* else overwriting.
|
||||||
*
|
*
|
||||||
* ```ts
|
* ```ts
|
||||||
* await Deno.writeTextFileSync("hello1.txt", "Hello world\n"); // overwrite "hello1.txt" or create it
|
* Deno.writeTextFileSync("hello1.txt", "Hello world\n"); // overwrite "hello1.txt" or create it
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* Requires `allow-write` permission, and `allow-read` if `options.create` is `false`.
|
* Requires `allow-write` permission, and `allow-read` if `options.create` is `false`.
|
||||||
|
|
Loading…
Reference in a new issue