asp-smart-ui-plus-test
Version:
A Component Library for Vue 3
13 lines (12 loc) • 368 B
TypeScript
interface AjaxOptions {
method?: string;
dataType?: string;
async?: boolean;
data?: Record<string, any>;
requestHeader?: Record<string, string>;
url?: string;
success?: (responseText: any, responseXML: any) => void;
fail?: (responseText: any) => void;
}
export declare function ajax(options?: AjaxOptions): Promise<unknown>;
export {};