mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Removal of logChange method and explanation
logChange is an example of an extension, not part of the standard library. To add extensions, simply extend the interface outside of the definition file:
interface KnockoutExtenders {
logChange(target: KnockoutObservableAny, option: string): KnockoutObservableAny;
}
This commit is contained in:
Vendored
-1
@@ -242,7 +242,6 @@ interface KnockoutVirtualElements {
|
||||
interface KnockoutExtenders {
|
||||
throttle(target: any, timeout: number): KnockoutComputed;
|
||||
notify(target: any, notifyWhen: string): any;
|
||||
logChange(target: KnockoutObservableAny, option: string): KnockoutObservableAny;
|
||||
}
|
||||
|
||||
interface KnockoutUtils {
|
||||
|
||||
Reference in New Issue
Block a user