method IFileSystem.writeTextFile
IFileSystem.writeTextFile(
path: string,
content: string,
): Promise<void>

Write a text file

Parameters

path: string
  • The file path
content: string
  • The content to write

Return Type

Promise<void>

Usage

import { type IFileSystem } from ".";