mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -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.
|
||||
*
|
||||
* ```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`.
|
||||
|
|
Loading…
Reference in a new issue