Skip to content

fix(types): add back object to replace option return type #1129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 29, 2023

Conversation

remarkablemark
Copy link
Owner

What is the motivation for this pull request?

fix(types): add back object to replace option return type

Maintains backward compatibility for invalid return type

Fixes #1126

What is the current behavior?

Removed object return type from replace option in v5

What is the new behavior?

Revert removal of object return type from replace option

Checklist:

Fixes #1126

Maintains backward compatibility for invalid return type
@remarkablemark remarkablemark added the bug Something isn't working label Oct 29, 2023
@remarkablemark remarkablemark self-assigned this Oct 29, 2023
@codecov
Copy link

codecov bot commented Oct 29, 2023

Codecov Report

Merging #1129 (88eea66) into master (6f9ae44) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master     #1129   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          153       153           
  Branches        50        50           
=========================================
  Hits           153       153           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@github-actions
Copy link
Contributor

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
dist/html-react-parser.min.js 10.2 KB (0%) 205 ms (0%) 50 ms (-14.91% 🔽) 254 ms

@remarkablemark remarkablemark merged commit 312a565 into master Oct 29, 2023
@remarkablemark remarkablemark deleted the fix/types branch October 29, 2023 19:47
@remarkablemark
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type errors with v5.0.0
1 participant