mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-17 22:44:18 +08:00
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:
1
knockout/knockout.d.ts
vendored
1
knockout/knockout.d.ts
vendored
@@ -15,6 +15,7 @@ interface KnockoutSubscribableFunctions {
|
||||
|
||||
interface KnockoutComputedFunctions extends KnockoutSubscribableFunctions {
|
||||
getDependenciesCount(): number;
|
||||
getSubscriptionsCount(): number;
|
||||
hasWriteFunction(): boolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user