Merge pull request #4351 from inez/master

Ember.computed takes for instance string and a function
This commit is contained in:
Masahiro Wakame
2015-05-19 23:51:07 +09:00
+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;