You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected result:
Some error saying that types are not compatible, since the return type of withObservables ((string|number)[]) is not assignable to the props (string[]).
Let a component like:
If we pass a more general within withObservables, instead of typescript complaining, it appears as valid:
Expected result:
Some error saying that types are not compatible, since the return type of withObservables (
(string|number)[]
) is not assignable to the props (string[]
).Some other examples:
string
, withObservables return:string|undefined
.The text was updated successfully, but these errors were encountered: