Interface WriteEncodingOptions

interface WriteEncodingOptions {
    encoding?: string;
    overwriteEncoding?: boolean;
}

Hierarchy (view full)

Properties

encoding?: string

The encoding to use when updating a file.

overwriteEncoding?: boolean

If set to true, will enforce the selected encoding and not perform any detection using BOMs.