Repository URL to install this package:
|
Version:
1.0.1 ▾
|
import { CommonStreamOrchestrationResponse, ErrorLikeResponse } from './typings';
/**
* @invariant 1 status.includes(Error) == Error
* @invariant 2 Object.keys(response).length < 3 == Error
*/
declare function isErrorLikeStatus(status: string): boolean;
export declare type ResponseType = CommonStreamOrchestrationResponse;
declare function isErrorLikeResponse(x: ResponseType): x is ErrorLikeResponse;
export { isErrorLikeResponse, isErrorLikeStatus };