@report-toolkit/transformers
Version:
See docs at [https://ibm.github.io/report-toolkit](https://ibm.github.io/report-toolkit)
24 lines (23 loc) • 670 B
TypeScript
/**
* @type {TransformerMeta}
*/
export const meta: TransformerMeta;
/**
* @param {FilterTransformerOptions} opts
* @type {TransformFunction<object,object>}
*/
export const transform: TransformFunction<object, object>;
export type Report = import("../../diff/node_modules/@report-toolkit/common/src/report.js").Report;
export type TransformerMeta = {
id: string;
description?: string;
input?: string[];
output: string;
alias?: string[];
defaults?: any;
};
export type FilterTransformerOptions = {
include?: string[];
exclude?: string[];
};
export type TransformFunction<T, U> = (opts?: any) => import("rxjs").OperatorFunction<T, U>;