@fgv/ts-web-extras
Version:
Browser-compatible utilities and FileTree implementations
51 lines (24 loc) • 759 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) > [FileSystemWritableFileStream\_2](./ts-web-extras.filesystemwritablefilestream_2.md) > [write](./ts-web-extras.filesystemwritablefilestream_2.write.md)
## FileSystemWritableFileStream\_2.write() method
**Signature:**
```typescript
write(data: BufferSource | Blob | string): Promise<void>;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
data
</td><td>
BufferSource \| Blob \| string
</td><td>
</td></tr>
</tbody></table>
**Returns:**
Promise<void>