export interface IResponse { data: null | any; error: undefined | any; } export interface IError { error: any; message: any; code: any; }