Added getSubscriptionsCount function to KnockoutComputedFunctions

This function was missing and is expected to be available to all KnockoutComputer<T> objects, as stated in the docs:
http://knockoutjs.com/documentation/computedObservables.html#computed_observable_reference
This commit is contained in:
jfoliveira
2013-07-22 14:47:40 +01:00
parent 981c9f9f35
commit 661adf0b64

View File

@@ -15,6 +15,7 @@ interface KnockoutSubscribableFunctions {
interface KnockoutComputedFunctions extends KnockoutSubscribableFunctions {
getDependenciesCount(): number;
getSubscriptionsCount(): number;
hasWriteFunction(): boolean;
}