mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Model.default should be a property, as it can be a function or an object.
This commit is contained in:
Vendored
+1
-1
@@ -93,6 +93,7 @@ declare module Backbone {
|
||||
attributes: any;
|
||||
changed: any[];
|
||||
cid: string;
|
||||
defaults: any;
|
||||
id: any;
|
||||
idAttribute: string;
|
||||
validationError: any;
|
||||
@@ -111,7 +112,6 @@ declare module Backbone {
|
||||
changedAttributes(attributes?: any): any[];
|
||||
clear(options?: Silenceable);
|
||||
clone(): Model;
|
||||
defaults(): any;
|
||||
destroy(options?: ModelDestroyOptions);
|
||||
escape(attribute: string);
|
||||
has(attribute: string): boolean;
|
||||
|
||||
Reference in New Issue
Block a user