mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +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:
1 parent
8cd79728ef
commit
9e91f2a6c2
1 file changed
+1
-5
Vendored
+1
-5
@@ -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