UNPKG

nx

Version:

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

8 lines (7 loc) 407 B
import { type JsonWriteOptions } from './fileutils'; /** * Writes a JSON file, formatting it with whichever formatter the workspace is * configured for, and falling back to standard JSON serialization when there * is none or it cannot format the file. */ export declare function writeFormattedJsonFile<T extends object = object>(filePath: string, content: T, options?: JsonWriteOptions): Promise<void>;