@easyquery/core
Version:
EasyQuery.JS core modules
12 lines (11 loc) • 382 B
TypeScript
export interface AjaxOptions {
type?: string;
contentType?: string;
dataType?: string;
url: string;
data?: any;
beforeSend?: (xhr: XMLHttpRequest, data: any) => void;
success?: (result: any) => void;
error?: (error: XMLHttpRequest, status: number, statusMessage: string) => void;
}
export declare function ajax(options: AjaxOptions): any;