isn't the same, so just added the "data" attribute.

This commit is contained in:
Sascha Thiel
2015-12-07 15:08:00 +01:00
parent 9e91f2a6c2
commit 2f5765d6be
+6 -1
View File
@@ -41,7 +41,12 @@ declare module Backbone {
parse?: any;
}
interface PersistenceOptions extends JQueryAjaxSettings {
interface PersistenceOptions {
url?: string;
data?: any;
beforeSend?: (jqxhr: JQueryXHR) => void;
success?: (modelOrCollection?: any, response?: any, options?: any) => void;
error?: (modelOrCollection?: any, jqxhr?: JQueryXHR, options?: any) => void;
}
interface ModelSetOptions extends Silenceable, Validable {