Fix toJSON return type

This commit is contained in:
Boris Yankov
2012-11-05 04:19:08 +02:00
parent 4cfd38ca15
commit d99ddcdbf8
+1 -1
View File
@@ -51,7 +51,7 @@ declare module Backbone {
fetch(options?: JQueryAjaxSettings);
url: string; // or url(): string;
parse(response);
toJSON(): string;
toJSON(): any;
}
export class Model extends ModelBase {