From 752cb09e2c67d8f46c4f16ba4750c9b03d38481f Mon Sep 17 00:00:00 2001 From: Natan Vivo Date: Fri, 12 Jul 2013 15:30:21 -0300 Subject: [PATCH] Model.default should be a property, as it can be a function or an object. --- backbone/backbone.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backbone/backbone.d.ts b/backbone/backbone.d.ts index c957be929..10f2c604a 100644 --- a/backbone/backbone.d.ts +++ b/backbone/backbone.d.ts @@ -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;