mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Merge pull request #17721 from chriskrycho/add-some-ember-types
Add `onerror` and `runInDebug` to Ember typings.
This commit is contained in:
Vendored
+2
@@ -2449,6 +2449,7 @@ declare namespace Ember {
|
||||
function observersFor(obj: any, path: string): any[];
|
||||
function onLoad(name: string, callback: Function): void;
|
||||
const onError: Error;
|
||||
function onerror(error: any): void;
|
||||
function overrideChains(obj: any, keyName: string, m: any): boolean;
|
||||
// ReSharper disable once DuplicatingLocalDeclaration
|
||||
const platform: {
|
||||
@@ -2480,6 +2481,7 @@ declare namespace Ember {
|
||||
throttle(target: any, method: Function | string, ...args: any[]): void;
|
||||
queues: any[];
|
||||
};
|
||||
function runInDebug(fn: Function): void;
|
||||
function runLoadHooks(name: string, object: any): void;
|
||||
function sendEvent(obj: any, eventName: string, params?: any[], actions?: any[]): boolean;
|
||||
function set(obj: any, keyName: string, value: any): any;
|
||||
|
||||
Reference in New Issue
Block a user