import { RemoteDataStatus } from './enums' ; import { RefreshingFailure } from './RefreshingFailure' ; import { RemoteData } from './RemoteData' ; export const isRefreshingFailure = < A , B > ( remoteData ) : remoteData is RefreshingFailure < A > => remoteData . status === RemoteDataStatus . RefreshingFailure ;