Skip to content

Latest commit

 

History

History
60 lines (32 loc) · 898 Bytes

File metadata and controls

60 lines (32 loc) · 898 Bytes
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @rushstack/node-core-library > FileWriter > write

FileWriter.write() method

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;

Parameters

Parameter

Type

Description

text

string

The text to write to the file.

Returns:

void