Skip to content

feat: replace(All) support replacement for functions when the first parameter is a string#304

Merged
antfu merged 3 commits intoRich-Harris:masterfrom
btea:feat/replace-replaceAll-replacement-support-function
Sep 8, 2025
Merged

feat: replace(All) support replacement for functions when the first parameter is a string#304
antfu merged 3 commits intoRich-Harris:masterfrom
btea:feat/replace-replaceAll-replacement-support-function

Conversation

@btea
Copy link
Contributor

@btea btea commented Sep 7, 2025

close #303

@antfu antfu merged commit fd1d887 into Rich-Harris:master Sep 8, 2025
3 checks passed
@btea btea deleted the feat/replace-replaceAll-replacement-support-function branch September 8, 2025 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Both replace and replaceAll don't accept a replacement function like the typing suggests

2 participants