FileSystemAdapter.exportTextFile method
FileSystemAdapter › exportTextFile
Unofficial
Exports text as a plain-text download.Signature:
exportTextFile(text: string, filename: string): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| text | string | The text to export. |
| filename | string | The suggested file name. |
Returns: Promise<void> — A promise that resolves after the download is started.