mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-12 12:10:48 +08:00
Merge pull request #683 from nvivo/knockout_fixes
Fix wrong signature on knockout computed. Missing options argument.
This commit is contained in:
commit
30cfdfaadb
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