| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @rushstack/node-core-library > FileWriter > write
Writes some text to the given file handle. Throws if the file handle has been closed. Behind the scenes it uses fs.writeSync()<></>.
Signature:
write(text: string): void;|
Parameter |
Type |
Description |
|---|---|---|
|
text |
string |
The text to write to the file. |
Returns:
void