From d2e0be3ea9608bf8e70f1d1f87e2dc9dafca6d7c Mon Sep 17 00:00:00 2001 From: Kazi Manzur Rashid Date: Tue, 30 Apr 2013 13:54:50 +0600 Subject: [PATCH] Model isValid should return boolean instead of string --- 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 1ff7374a4..921b84e2f 100644 --- a/backbone/backbone.d.ts +++ b/backbone/backbone.d.ts @@ -123,7 +123,7 @@ declare module Backbone { has(attribute: string): bool; hasChanged(attribute?: string): bool; isNew(): bool; - isValid(): string; + isValid(): bool; previous(attribute: string): any; previousAttributes(): any[]; save(attributes?: any, options?: ModelSaveOptions);