UNPKG

@neodx/vfs

Version:

Simple virtual file system - working dir context, lazy changes, different modes, integrations and moreover

14 lines (11 loc) 444 B
import { m as VfsPlugin } from '../_internal/types-Bu8eLcj4.js'; interface PrettierPluginParams { /** Pass `false` to disable auto formatting on apply */ auto?: boolean; } interface PrettierPluginApi { format(path: string): Promise<boolean>; formatAll(): Promise<void>; } declare function prettier({ auto }?: PrettierPluginParams): VfsPlugin<PrettierPluginApi>; export { type PrettierPluginApi, type PrettierPluginParams, prettier };