UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

15 lines (14 loc) 476 B
import type { Tree } from '../tree'; /** * Formats all the created or updated files using Prettier * @param tree - the file system tree */ export declare function formatChangedFilesWithPrettierIfAvailable(tree: Tree, options?: { silent?: boolean; }): Promise<void>; export declare function formatFilesWithPrettierIfAvailable(files: { path: string; content: string | Buffer; }[], root: string, options?: { silent?: boolean; }): Promise<Map<string, string>>;