mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
19 lines
621 B
TypeScript
19 lines
621 B
TypeScript
// Type definitions for Zone.js
|
|
// Project: https://github.com/angular/zone.js
|
|
// Definitions by: angular team <https://github.com/angular/>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare class Zone {
|
|
constructor(parentZone: Zone, data: any);
|
|
|
|
fork(locals?: {[key: string]: any}): Zone;
|
|
bind(fn: Function, skipEnqueue?: boolean): void;
|
|
bindOnce(fn: Function): any;
|
|
run(fn: Function, applyTo?: any, applyWith?: any): void;
|
|
isRootZone(): boolean;
|
|
|
|
static bindPromiseFn<T extends () => Promise<any>>(fn: T): T;
|
|
|
|
static longStackTraceZone: {[key: string]: any};
|
|
}
|