spy-client
Version:
spy client
23 lines (22 loc) • 544 B
TypeScript
/**
* @file utils
* @author kaivean
*/
export declare function assign(...args: any[]): any;
export interface URLINFO {
protocol: string;
host: string;
pathname: string;
ext: string;
}
export declare function getUrlInfo(url: string): URLINFO;
export declare function getResTiming(t: PerformanceTiming | PerformanceResourceTiming): {
wait: number;
dns: number;
connect: number;
req: number;
res: number;
};
export declare function getxpath(el: Element | null): {
xpath: string;
};