mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Fix ajaxSettings
This commit is contained in:
parent
b9b6d6b3d5
commit
fd5dbacc76
7
zepto/zepto.d.ts
vendored
7
zepto/zepto.d.ts
vendored
@ -1580,13 +1580,20 @@ interface ZeptoAjaxSettings {
|
||||
data?: any;
|
||||
processData?: boolean;
|
||||
contentType?: string;
|
||||
mimeType?: string;
|
||||
dataType?: string;
|
||||
jsonp?: string;
|
||||
jsonpCallback?: any; // string or Function
|
||||
timeout?: number;
|
||||
headers?: { [key: string]: string };
|
||||
async?: boolean;
|
||||
global?: boolean;
|
||||
context?: any;
|
||||
traditional?: boolean;
|
||||
cache?: boolean;
|
||||
xhrFields?: { [key: string]: any };
|
||||
username?: string;
|
||||
password?: string;
|
||||
beforeSend?: (xhr: XMLHttpRequest, settings: ZeptoAjaxSettings) => boolean;
|
||||
success?: (data: any, status: string, xhr: XMLHttpRequest) => void;
|
||||
error?: (xhr: XMLHttpRequest, errorType: string, error: Error) => void;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user