CommonStringReplacer CallableCommonStringReplacer(func, replacement): (match, ...args) => stringA decorator for converting the variadic parameter of String.replace functions into something more sensibleParametersfunc: CommonSubstituteReplacerreplacement: stringReturns (match, ...args) => string(match, ...args): stringParametersmatch: stringrest...args: any[]Returns string
A decorator for converting the variadic parameter of String.replace functions into something more sensible