@infordata-web/portal-common-component-lib
Version:
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.0.14.
9 lines (8 loc) • 325 B
TypeScript
export declare class ComponentOutputStatus<T> {
status: boolean;
output: T;
static of<K>(status: boolean, output: K): ComponentOutputStatus<K>;
ifValid(effect: (value: T) => void): void;
each(effect: (value: T) => void): void;
mapValue<K>(mapper: (value: T) => K): ComponentOutputStatus<K>;
}