-
Notifications
You must be signed in to change notification settings - Fork 16
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
Observable.from should throw primitive iterables (strings) #125
Comments
I think you misread my comment (which was not all that clear, sorry). See discussion in tc39/proposal-iterator-helpers#244. |
FYI: |
If someone is intentionally passing a string into an |
Can a usecase be returning a string from the catch operator? |
I'm sold on ensuring |
Along with how Iterator helpers behave, if a user passes a
string
, even though it's an iterable, it's likely an error. We should throw aTypeError
in that case.The text was updated successfully, but these errors were encountered: