Replacer<CapturedGroupArgs>
A synchronous function that generates replacement strings, or a string to replace with.
Import:
import type { Replacer } from 'obsidian-dev-utils/string';Signature:
export type Replacer<CapturedGroupArgs extends string[]>Signature:
type Replacer<CapturedGroupArgs> = ((args: ReplaceArgs<CapturedGroupArgs>) => StringReplacement) | StringReplacementType: ((args: ReplaceArgs<CapturedGroupArgs>) => StringReplacement) | StringReplacement
Links to this page: