cumulocity-cypress
Version:
Cypress commands for Cumulocity IoT
22 lines (21 loc) • 569 B
TypeScript
/**
* Global type augmentations for Response and Cypress.Response interfaces.
* This module extends the global interfaces to add custom properties used by c8yclient.
*/
declare global {
interface Response {
data?: string | any;
method?: string;
responseObj?: Partial<Cypress.Response<any>>;
requestBody?: string | any;
}
namespace Cypress {
interface Response<T> {
url?: string;
requestBody?: string | any;
method?: string;
$body?: any;
}
}
}
export {};