mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Fix wrong signature on knockout computed. Missing options argument.
Ref: http://knockoutjs.com/documentation/computedObservables.html#computed_observable_reference
This commit is contained in:
1 parent
af42359f83
commit
b6307ba232
1 file changed
+1
-1
Vendored
+1
-1
@@ -62,7 +62,7 @@ interface KnockoutComputedStatic {
|
||||
fn: KnockoutComputedFunctions;
|
||||
|
||||
<T>(): KnockoutComputed<T>;
|
||||
<T>(func: () => T, context?: any): KnockoutComputed<T>;
|
||||
<T>(func: () => T, context?: any, options?: any): KnockoutComputed<T>;
|
||||
<T>(def: KnockoutComputedDefine<T>): KnockoutComputed<T>;
|
||||
(options?: any): KnockoutComputed<any>;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user