<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`TextFileView`](TextFileView) › [`save`](TextFileView/save) ## TextFileView.save() method 0.10.12 **Signature:** ```typescript save(clear?: boolean): Promise<void>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>clear</code> | <code>boolean</code> | _(Optional)_ | **Returns:** `Promise<void>`