Ask a question to get started
Enter to send•Shift+Enter new line
Write content to a file, creating it or overwriting it if it already exists.
write(filePath: string, content: string): Promise<WriteResult>
filePath
string
Absolute file path
content
File content as string