Using from operator in Typescript is making my observable be a type of <void | object> when I just want it to be a type <object> #6679
Unanswered
WellSky-MaryWelch
asked this question in
Q&A
Replies: 1 comment 1 reply
-
This isn't an RxJS problem. It's an issue with the promise chain that you've composed. You have two branches: a Either:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here's my code snippet where I am trying to set up an observable by wrapping a promise in a from operator. I want to be able to create an Observable with type <AddressAutocompleteSuggestion[]> rather than <void | AddressAutocompleteSuggestion[]>. Is that possible?
Beta Was this translation helpful? Give feedback.
All reactions