WriteFileOptions$Typings extension

on

Properties

append bool?
If set to true, will append to a file instead of overwriting previous contents.
getter/setter pair
create bool?
Sets the option to allow creating a new file, if one doesn't already exist at the specified path.
getter/setter pair
createNew bool?
If set to true, no file, directory, or symlink is allowed to exist at the target location. When createNew is set to true, create is ignored.
getter/setter pair
mode num?
Permissions always applied to file.
getter/setter pair
signal AbortSignal?
An abort signal to allow cancellation of the file write operation.
getter/setter pair