This repository has been archived on 2026-03-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
StasisWarden-Legacy/node_modules/es-toolkit/dist/compat/string/replace.d.ts
T

6 lines
301 B
TypeScript

type ReplaceFunction = (match: string, ...args: any[]) => string;
declare function replace(string: string, pattern: RegExp | string, replacement: ReplaceFunction | string): string;
declare function replace(pattern: RegExp | string, replacement: ReplaceFunction | string): string;
export { replace };