From 8f069176444a60d428557450ee42d84166a7ef44 Mon Sep 17 00:00:00 2001 From: Eirik Hoem Date: Sat, 28 Dec 2013 16:06:08 +0100 Subject: [PATCH] Model.isValid is now accepts options, see source --- 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 cdcd145c2..aad4cffde 100644 --- a/backbone/backbone.d.ts +++ b/backbone/backbone.d.ts @@ -120,7 +120,7 @@ declare module Backbone { has(attribute: string): boolean; hasChanged(attribute?: string): boolean; isNew(): boolean; - isValid(): boolean; + isValid(options?:any): boolean; previous(attribute: string): any; previousAttributes(): any[]; save(attributes?: any, options?: ModelSaveOptions): any;