mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
PesistenceOptions is actually JQueryAjaxSettings.
backbone.js:Backbone.sync > // Make the request, allowing the user to override any Ajax options. > var xhr = options.xhr = Backbone.ajax(_.extend(params, options));
This commit is contained in:
6
backbone/backbone-global.d.ts
vendored
6
backbone/backbone-global.d.ts
vendored
@@ -41,11 +41,7 @@ declare module Backbone {
|
||||
parse?: any;
|
||||
}
|
||||
|
||||
interface PersistenceOptions {
|
||||
url?: string;
|
||||
beforeSend?: (jqxhr: JQueryXHR) => void;
|
||||
success?: (modelOrCollection?: any, response?: any, options?: any) => void;
|
||||
error?: (modelOrCollection?: any, jqxhr?: JQueryXHR, options?: any) => void;
|
||||
interface PersistenceOptions extends JQueryAjaxSettings {
|
||||
}
|
||||
|
||||
interface ModelSetOptions extends Silenceable, Validable {
|
||||
|
||||
Reference in New Issue
Block a user