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
typeNetworkLoadingState={state: "loading";};typeNetworkFailedState={state: "failed";code: number;};typeNetworkSuccessState={state: "success";response: {title: string;duration: number;summary: string;};};// Create a type which represents only one of the above types// but you aren't sure which it is yet.typeNetworkState=|NetworkLoadingState|NetworkFailedState|NetworkSuccessState;
Summary
Add support for union types of object.
e.g.
Handbook - Unions and Intersection Types
The text was updated successfully, but these errors were encountered: