• Write data to a file

    Parameters

    • uri: string

      URI of file

    • fileContents: string | Buffer

      String or Buffer to write into the file

    Returns Promise<void>

    Promise that resolves after writing the file