mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-02 16:20:07 +00:00
Adding valueHasMutated and valueWillMutate
Adding missing functions to Knockout.
This commit is contained in:
3
Definitions/knockout-2.2.d.ts
vendored
3
Definitions/knockout-2.2.d.ts
vendored
@@ -8,6 +8,9 @@ interface KnockoutSubscribableFunctions {
|
||||
subscribe(callback: (newValue: any[]) => void, target?:any, topic?: string): KnockoutSubscription;
|
||||
notifySubscribers(valueToWrite, topic?: string);
|
||||
dispose(): void;
|
||||
valueHasMutated(): void;
|
||||
|
||||
valueWillMutate(): void;
|
||||
}
|
||||
|
||||
interface KnockoutComputedFunctions extends KnockoutSubscribableFunctions {
|
||||
|
||||
Reference in New Issue
Block a user