mirror of
https://github.com/denoland/deno.git
synced 2025-08-01 17:42:32 +00:00
Cleanup Deno namespace (#1765)
This commit is contained in:
parent
473d7317ea
commit
c468be64ed
7 changed files with 26 additions and 11 deletions
|
@ -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+");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue