ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
17 lines (16 loc) • 708 B
TypeScript
/**
* 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 { DebugElement, NgModule, Type } from '@angular/core';
import { ComponentFixture, TestBedStatic } from '@angular/core/testing';
declare type ComponentBedOptions = Pick<NgModule, 'providers' | 'declarations' | 'imports'>;
export interface ComponentBed<T> {
bed: TestBedStatic;
fixture: ComponentFixture<T>;
nativeElement: HTMLElement;
debugElement: DebugElement;
component: T;
}
export declare function createComponentBed<T>(component: Type<T>, options?: ComponentBedOptions): ComponentBed<T>;
export {};