Merge pull request #4352 from inez/observer

Ember.observer takes for instance string and a function
This commit is contained in:
Masahiro Wakame
2015-05-19 23:56:31 +09:00
+1 -1
View File
@@ -2916,7 +2916,7 @@ declare module Ember {
**/
var none: typeof deprecateFunc;
function normalizeTuple(target: any, path: string): any[];
function observer(func: Function, ...args: string[]): Function;
function observer(...args: any[]): Function;
function observersFor(obj: any, path: string): any[];
function onLoad(name: string, callback: Function): void;
function oneWay(obj: any, to: string, from: string): Binding;