Cleanup Deno namespace (#1765)

This commit is contained in:
Kitson Kelly 2019-02-14 00:50:15 +11:00 committed by Ryan Dahl
parent 473d7317ea
commit c468be64ed
7 changed files with 26 additions and 11 deletions

View file

@ -57,6 +57,7 @@ export type OpenMode =
/** A factory function for creating instances of `File` associated with the
* supplied file name.
* @internal
*/
export function create(filename: string): Promise<File> {
return open(filename, "w+");