diff --git a/knockout.es5/knockout.es5-tests.ts b/knockout.es5/knockout.es5-tests.ts index c51b9bc9d2..f35ea44b84 100644 --- a/knockout.es5/knockout.es5-tests.ts +++ b/knockout.es5/knockout.es5-tests.ts @@ -5,7 +5,7 @@ var empty = {}, observable = ko.observable(123), computed = ko.computed(function () { return observable() + 1; }), model = { prop: 100 }, - notifiedValues = []; + notifiedValues: any[] = []; // Basic properties diff --git a/knockout.es5/knockout.es5.d.ts b/knockout.es5/knockout.es5.d.ts index 651d7d40f3..6eb210a200 100644 --- a/knockout.es5/knockout.es5.d.ts +++ b/knockout.es5/knockout.es5.d.ts @@ -19,7 +19,7 @@ interface KnockoutDefinePropertyOptions { } interface Array { - remove(item): T[]; + remove(item: T): T[]; removeAll(items: T[]): T[]; removeAll(): T[];