ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
23 lines (22 loc) • 694 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/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;
}