Ember.computed takes for instance string and a function

This commit is contained in:
Inez Korczynski
2015-05-13 16:00:52 -07:00
parent 846a250e0a
commit 6aa0f25a1a
+1 -1
View File
@@ -2830,7 +2830,7 @@ declare module Ember {
function compare(v: any, w: any): number;
// ReSharper disable once DuplicatingLocalDeclaration
var computed: {
(callback: Function): ComputedProperty;
(...args: any[]): ComputedProperty;
alias(dependentKey: string): ComputedProperty;
and(...args: string[]): ComputedProperty;
any(...args: string[]): ComputedProperty;