From 661adf0b644f664f8a67f0ac98c2d7319060c5ec Mon Sep 17 00:00:00 2001 From: jfoliveira Date: Mon, 22 Jul 2013 14:47:40 +0100 Subject: [PATCH] Added getSubscriptionsCount function to KnockoutComputedFunctions This function was missing and is expected to be available to all KnockoutComputer objects, as stated in the docs: http://knockoutjs.com/documentation/computedObservables.html#computed_observable_reference --- knockout/knockout.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/knockout/knockout.d.ts b/knockout/knockout.d.ts index 0beebeb3e..d46879018 100644 --- a/knockout/knockout.d.ts +++ b/knockout/knockout.d.ts @@ -15,6 +15,7 @@ interface KnockoutSubscribableFunctions { interface KnockoutComputedFunctions extends KnockoutSubscribableFunctions { getDependenciesCount(): number; + getSubscriptionsCount(): number; hasWriteFunction(): boolean; }