FileOptions
[<Interface>]
type FileOptions =
abstract member endings: Endings option with get, set
abstract member lastModified: float option with get, set
abstract member type: string option with get, set
static member Create (?endings: Endings, ?type: string, ?lastModified: float) : FileOptions| Assembly | Xantham.Fable.Node |
| Attributes | [<Interface>] |
Properties
abstract member endings: Endings option with get, set
abstract member endings: Endings option with get, setOne of either 'transparent' or 'native'. When set to 'native', line endings in string source parts will be converted to the platform native line-ending as specified by import { EOL } from 'node:os'.
abstract member lastModified: float option with get, set
abstract member lastModified: float option with get, setThe last modified date of the file. Default: Date.now().
Methods
static member Create (?endings: Endings, ?type: string, ?lastModified: float) : FileOptions