Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > IFileSystemWriteFileOptions

IFileSystemWriteFileOptions interface​

The options for FileSystem.writeFile()

Signature:

export interface IFileSystemWriteFileOptions extends IFileSystemWriteBinaryFileOptions 

Extends: IFileSystemWriteBinaryFileOptions

Properties​

Property

Modifiers

Type

Description

convertLineEndings?

NewlineKind

(Optional) If specified, will normalize line endings to the specified style of newline.

encoding?

Encoding

(Optional) If specified, will change the encoding of the file that will be written.