Interface CreateFileOptions

Options for creating a file.

interface CreateFileOptions {
    overwrite?: boolean;
    target?: string;
}

Properties

Properties

overwrite?: boolean

If true, existing files on the filesystem will be overwritten with the new content. Value false can be used for initial generation of files. Defaults to true for the default target. Custom targets have their own default value for the overwrite flag.

target?: string

The output directory target name to use. Defaults to DEFAULT_TARGET. Different targets can be written to different output directories and can have different default overwrite flags.