summaryrefslogtreecommitdiff
path: root/js/files.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/files.ts')
-rw-r--r--js/files.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/files.ts b/js/files.ts
index b23b66f52..a876301f8 100644
--- a/js/files.ts
+++ b/js/files.ts
@@ -64,9 +64,8 @@ export function create(filename: string): Promise<File> {
/** Open a file and return an instance of the `File` object.
*
- * import * as deno from "deno";
* (async () => {
- * const file = await deno.open("/foo/bar.txt");
+ * const file = await Deno.open("/foo/bar.txt");
* })();
*/
export async function open(