Added missing method 'replace' to KnockoutObservableArrayFunctions

This commit is contained in:
BreeeZe
2012-12-15 12:22:12 +01:00
committed by Damiano
parent 185e737528
commit e26a40dabf

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[];