UNPKG

@plugjs/plug

Version:
8 lines (7 loc) 279 B
import type { AbsolutePath } from '../paths'; declare module '../index' { interface Pipe { /** Edits the content of all files in a pipeline. */ edit(callback: (content: string, fileName: AbsolutePath) => string | void | Promise<string | void>): Pipe; } }