property FileHandler.replacer

Optional custom replacement logic if patterns aren't sufficient

Type

(
content: string,
key: string,
oldValue: string,
newValue: string,
) => string

Usage

import { type FileHandler } from ".";