diff --git a/packages/common/src/lib/widget/shared/widget.interfaces.ts b/packages/common/src/lib/widget/shared/widget.interfaces.ts index 3fa14e789a..8ec2d2237e 100644 --- a/packages/common/src/lib/widget/shared/widget.interfaces.ts +++ b/packages/common/src/lib/widget/shared/widget.interfaces.ts @@ -1,5 +1,7 @@ import { EventEmitter } from '@angular/core'; +import { DynamicComponent } from '../../dynamic-component/shared/dynamic-component'; + /** * This is the interface a widget component needs to implement. A widget * component is component that can be created dynamically. It needs @@ -11,3 +13,5 @@ export interface WidgetComponent { complete: EventEmitter; cancel: EventEmitter; } + +export type Widget = DynamicComponent;