Merge pull request #131 from BreeeZe/master

Added missing method 'replace' to KnockoutObservableArrayFunctions
This commit is contained in:
Boris Yankov
2012-12-15 04:33:20 -08:00
+2
View File
@@ -36,6 +36,8 @@ interface KnockoutObservableArrayFunctions extends KnockoutObservableFunctions {
sort(compareFunction): void;
// Ko specific
replace(oldItem: any, newItem: any): void;
remove(item): any[];
removeAll(items: any[]): any[];
removeAll(): any[];