UNPKG

360 BTypeScriptView Raw
1import { Reporter } from "./reporter";
2export declare type ReporterFactory = (options: any) => Reporter;
3export declare class ReporterRegistry {
4 private readonly registry;
5 constructor();
6 register(id: string, factory: ReporterFactory): void;
7 create(id: string, options: any): Reporter;
8}
9export declare const DEFAULT_REGISTRY: ReporterRegistry;