zone.d.ts 463 B

123456789101112131415
  1. /// <reference path="../es6-shim/es6-shim.d.ts" />
  2. declare class Zone {
  3. constructor(parentZone: Zone, data: any);
  4. fork(locals: {[key: string]: any}): Zone;
  5. bind(fn: Function, skipEnqueue?: boolean): void;
  6. bindOnce(fn: Function): any;
  7. run(fn: Function, applyTo?: any, applyWith?: any): void;
  8. isRootZone(): boolean;
  9. static bindPromiseFn<T extends () => Promise<any>>(fn: T): T;
  10. static longStackTraceZone: {[key: string]: any};
  11. }