mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-25 11:11:46 +08:00
Model isValid should return boolean instead of string
This commit is contained in:
Vendored
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user