Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils/async-replace"

Index

Type aliases

Functions

Type aliases

AsyncFn

AsyncFn: function

Type declaration

    • (match: string, ...groups: string[]): Promise<string>
    • Parameters

      • match: string
      • Rest ...groups: string[]

      Returns Promise<string>

Functions

Const DO_NOTHING

  • DO_NOTHING(): void

replace

  • replace(str: string, regex: RegExp, asyncFn: AsyncFn, notifyCb?: DO_NOTHING): Promise<string>

Generated using TypeDoc