You're viewing archived documentation for @imqueue/rpc v2.1.0. APIs may differ from the current release. View the latest version ↗

writeFile() function

Async writeFile

Signature:

export declare function writeFile(path: string, content: string): Promise<unknown>;

Parameters

Parameter

Type

Description

path

string

content

string

{Promise}

Returns:

Promise<unknown>