source: node_modules/es-toolkit/dist/compat/string/replace.d.mts@ ba17441

Last change on this file since ba17441 was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 301 bytes
Line 
1type ReplaceFunction = (match: string, ...args: any[]) => string;
2declare function replace(string: string, pattern: RegExp | string, replacement: ReplaceFunction | string): string;
3declare function replace(pattern: RegExp | string, replacement: ReplaceFunction | string): string;
4
5export { replace };
Note: See TracBrowser for help on using the repository browser.