@report-toolkit/transformers
Version:
See docs at [https://ibm.github.io/report-toolkit](https://ibm.github.io/report-toolkit)
21 lines (20 loc) • 630 B
TypeScript
/**
* @type {TransformerMeta}
*/
export const meta: TransformerMeta;
export function transform(opts?: {}): TransformFunction<object, string>;
export type Report = import("../../diff/node_modules/@report-toolkit/common/src/report").Report;
export type Field = {
label: string;
value: string | ((arg0: any) => string);
color?: string | ((arg0: any) => string);
};
export type TransformerMeta = {
id: string;
description?: string;
input?: string[];
output: string;
alias?: string[];
defaults?: any;
};
export type TransformFunction<T, U> = (opts?: any) => import("rxjs").OperatorFunction<T, U>;