Function createFile

  • Creates a new file at the specified file path.

    Parameters

    • filePath: string

      The path where the file should be created.

    Returns Promise<void>

    • A promise that resolves when the file is successfully created.

    Example

    const filePath = "path/to/file";
    await createFile(filePath);

Generated using TypeDoc