@aftership/web-pixels
Version:
AfterShip Web Pixels for data anaylsis
6 lines (5 loc) • 357 B
TypeScript
export declare function addQueryParams(url: string, params: Record<string, any>): string;
export declare function addQueryString(url: string, params: string): string;
export declare function getUrlQuery(key: string): string | null;
/** 获取 jsUrl 上的参数 */
export declare function getUrlQueryParams<T extends Record<string, any>>(jsUrl: string): T;