Type alias ReplaceFunction

ReplaceFunction: ((substring, ...args) => string)

Type declaration

    • (substring, ...args): string
    • Handle replacement of matched string and parameters with another string.

      Parameters

      • substring: string
      • Rest ...args: any[]

      Returns string

Generated using TypeDoc