@fgv/ts-web-extras
Version:
Browser-compatible utilities and FileTree implementations
53 lines (25 loc) • 955 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@fgv/ts-web-extras](./ts-web-extras.md) > [FileSystemFileHandle\_2](./ts-web-extras.filesystemfilehandle_2.md) > [createWritable](./ts-web-extras.filesystemfilehandle_2.createwritable.md)
## FileSystemFileHandle\_2.createWritable() method
**Signature:**
```typescript
createWritable(options?: FileSystemCreateWritableOptions): Promise<FileSystemWritableFileStream>;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
options
</td><td>
[FileSystemCreateWritableOptions](./ts-web-extras.filesystemcreatewritableoptions_2.md)
</td><td>
_(Optional)_
</td></tr>
</tbody></table>
**Returns:**
Promise<[FileSystemWritableFileStream](./ts-web-extras.filesystemwritablefilestream_2.md)<!-- -->>