diff --git a/knockout/tests/knockout-tests.ts b/knockout/tests/knockout-tests.ts index e74012548..1ebef13ef 100644 --- a/knockout/tests/knockout-tests.ts +++ b/knockout/tests/knockout-tests.ts @@ -38,7 +38,7 @@ function test_computed() { this.firstName = ko.observable('Planet'); this.lastName = ko.observable('Earth'); - this.fullName = ko.computed({ + this.fullName = ko.computed({ read: function () { return this.firstName() + " " + this.lastName(); }, @@ -257,7 +257,7 @@ interface KnockoutExtenders { required(target, overrideMessage); } -interface KnockoutObservableArrayFunctions { +interface KnockoutObservableArrayFunctions { filterByProperty(propName, matchValue): KnockoutComputed; } @@ -491,7 +491,7 @@ function test_mappingplugin() { } // Define your own functions -interface KnockoutSubscribableFunctions { +interface KnockoutSubscribableFunctions { publishOn(topic: string): any; subscribeTo(topic: string): any; }