source: node_modules/es-toolkit/dist/compat/string/replace.d.ts@ a762898

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

Added visualizations

  • Property mode set to 100644
File size: 301 bytes
RevLine 
[a762898]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.