123456789101112131415161718192021222324 |
- /**
- * 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';
- import { NzSafeAny } from 'ng-zorro-antd/core/types';
- import * as i0 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: () => NzSafeAny): NzSafeAny;
- runOutsideAngular(fn: () => NzSafeAny): NzSafeAny;
- simulateZoneExit(): void;
- static ɵfac: i0.ɵɵFactoryDeclaration<MockNgZone, never>;
- static ɵprov: i0.ɵɵInjectableDeclaration<MockNgZone>;
- }
|