mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-28 09:25:50 +08:00
Ember.computed takes for instance string and a function
This commit is contained in:
2
ember/ember.d.ts
vendored
2
ember/ember.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user