UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

21 lines (20 loc) 672 B
/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { EventEmitter, NgZone } from '@angular/core'; /** * Mock synchronous NgZone implementation that can be used * to flush out `onStable` subscriptions in tests. * * via: https://github.com/angular/angular/blob/master/packages/core/testing/src/ng_zone_mock.ts * * @docs-private */ export declare class MockNgZone extends NgZone { onStable: EventEmitter<any>; constructor(); run(fn: Function): any; runOutsideAngular(fn: Function): any; simulateZoneExit(): void; }