ng-dynamic-component
Version:
> Dynamic components with full life-cycle support for inputs and outputs
13 lines • 707 B
TypeScript
import { ComponentRef } from '@angular/core';
import { ComponentIO, ComponentInputKey } from 'ng-dynamic-component';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
/** @internal */
export declare class SignalComponentIO implements ComponentIO {
setInput<T, K extends ComponentInputKey<T>>(componentRef: ComponentRef<T>, name: K, value: T[K]): void;
getOutput<T, K extends ComponentInputKey<T>>(componentRef: ComponentRef<T>, name: K): Observable<unknown>;
private isOutputSignal;
static ɵfac: i0.ɵɵFactoryDeclaration<SignalComponentIO, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<SignalComponentIO>;
}
//# sourceMappingURL=signal-component-io.d.ts.map