Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix iterateFormatted typing issue when dealing with "maybe async iterables" #57

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

shtaif
Copy link
Owner

@shtaif shtaif commented Jan 16, 2025

Fix iterateFormatted's type signature not handling "maybe async iterable" type of inputs correctly.

@shtaif shtaif self-assigned this Jan 16, 2025
@shtaif shtaif marked this pull request as ready for review January 16, 2025 12:56
@shtaif shtaif force-pushed the fix-iterate-formatted-typing branch from 00c55c0 to bb57253 Compare January 16, 2025 12:58
@shtaif shtaif force-pushed the fix-iterate-formatted-typing branch from bb57253 to b361b3a Compare January 16, 2025 12:59
@shtaif shtaif merged commit f073d90 into master Jan 16, 2025
6 checks passed
@shtaif shtaif deleted the fix-iterate-formatted-typing branch January 16, 2025 13:02
shtaif pushed a commit that referenced this pull request Jan 22, 2025
## [0.7.0](v0.6.0...v0.7.0) (2025-01-22)

### Features

* `iterateFormatted`'s to also format given iterables' current values if present ([#56](#56)) ([9f6e47a](9f6e47a))
* export a `AsyncIterableSubject` type and add it along related references ([#54](#54)) ([39eae6f](39eae6f))
* **Iterate:** support initial value in function form ([#49](#49)) ([bfc1f09](bfc1f09))
* special handling for async iterables with a current value( [#55](#55)) ([01a30fc](01a30fc))
* **useAsyncIter:** allow initial value to be a function, called once on mount ([#48](#48)) ([9a7e9e4](9a7e9e4))

### Bug Fixes

* **iterateFormatted:** function's type signature does not not handle maybe-async-iterable kind of types correctly ([#57](#57)) ([f073d90](f073d90))

### Documentation

* docs edits ([#53](#53)) ([c5bfba4](c5bfba4))
* **readme:** Initial proper `README.md` ([#60](#60)) ([4e1c4a9](4e1c4a9))
Copy link

🎉 This PR is included in version 0.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant