@ac-essentials/misc-util
    Preparing search index...

    Function writeTomlFile

    • Writes a TOML file by stringifying the provided data.

      Parameters

      • path: FileHandle | PathLike

        Path to the TOML file.

      • rootTable: ReadonlyTable

        The root table object to stringify.

      • Optionaloptions: WriteTomlFileOptions

        Options for writing the file and stringifying TOML.

      Returns Promise<void>

      A promise that resolves when the file has been written.