-
Notifications
You must be signed in to change notification settings - Fork 146
fix: repeat must not mutate its result object in place (#785) #787
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
Conversation
🦋 Changeset detectedLatest commit: 0192f34 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
This is actually kind of broken still, if the array returned from |
|
That’s fine |
|
Is it appropriate to narrow the return type to I've narrowed the return type in the most recent batch of commits, and I've fixed a bug in my implementation and added another test. I'm not sure if you'd rather have a single commit in the PR or multiple? |
|
readonly arrays are not allowed by JSX types, so I wouldn't do that. |
|
Ah is it intended then that |
Fixes #785
This substantially rewrites
repeatto be more straight-forward with fewer closures, unlike #786 which is more conservative.