1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00

docs: Removed unnecessary await (#6951)

This commit is contained in:
josephrocca 2020-08-04 20:16:04 +10:00 committed by GitHub
parent bda9f61972
commit 8bacd710db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`.